public PseudoTerminal(command as String = "", cwd as String = "", columns as Int = 80, rows as Int = 24):
Starts a new pseudo-terminal.
| 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. |
pty = PseudoTerminal(cwd=Application.properties["klyn.home"])