klyn.process.PseudoTerminal.start
method
public start(command as String = "", cwd as String = "") as Void:
Description

Starts the terminal process.

Calling start on a running instance closes the previous terminal first.

Parameters
ParameterDescription
commandOptional command to execute.
cwdOptional working directory.
Example
pty.start("python3 -i", ".")