Private
_delayedPrivate
_exitProtected
_killedProtected
Readonly
closeProtected
Readonly
errorReadonly
errorThe stderr stream.
Protected
Readonly
exitReadonly
idProtected
Readonly
initialReadonly
inputThe stdin stream.
Protected
Readonly
loggerProtected
Readonly
optionsReadonly
outputThe stdout stream.
Protected
Readonly
processProtected
Readonly
ringProtected
Readonly
startProtected
Readonly
terminalProtected
Readonly
typeWaits for both process exit and for all the streams to be closed.
Wait for the process to exit, streams can still emit data.
The OS process id.
Protected
checkPrivate
createHelper for the constructor to attempt to create the pseudo-terminal encapsulating the shell process.
the shell command to launch
options for the shell process
a ring buffer in which to collect terminal output
the terminal PTY and a stream by which it may be sent input
Protected
emitProtected
emitProtected
emitProtected
emitProtected
emitProtected
handleProtected
handleProtected
isProtected
on
Run arbitrary processes inside pseudo-terminals (PTY).
Note: a PTY is not a shell process (bash/pwsh/cmd...)