klyn.process.PseudoTerminal.PseudoTerminal
constructor

    public PseudoTerminal(command as String = "", cwd as String = "", columns as Int = 80, rows as Int = 24):

Description

Starts a new pseudo-terminal.

Parameters

Parameter | Description
--- | ---
`command` | Optional command to execute. When empty, the default user shell is started.
`cwd` | Optional working directory.
`columns` | Initial terminal width expressed in character cells.
`rows` | Initial terminal height expressed in character cells.

Example

    pty = PseudoTerminal(cwd=Application.properties["klyn.home"])