Protected_Protected ReadonlycloseProtected ReadonlyerrorReadonlyerrorThe stderr stream.
Protected ReadonlyexitReadonlyidProtected ReadonlyinitialReadonlyinputThe stdin stream.
Protected ReadonlyloggerProtected ReadonlyoptionsReadonlyoutputThe stdout stream.
Protected ReadonlyprocessProtected ReadonlyringProtected ReadonlystartProtected ReadonlyterminalProtected ReadonlytypeWaits 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.
ProtectedcheckProtectedemitEmit the onClose event for this process. Only one of code and signal should be defined.
Optionalcode: numberOptionalsignal: stringProtectedemitProtectedemitProtectedemitEmit the onExit event for this process. Only one of code and signal should be defined.
Optionalcode: numberOptionalsignal: stringProtectedemitthe current working directory as a URI (usually file:// URI)
ProtectedhandleProtectedhandleProtectedisOptionalsignal: stringProtectedon
Run arbitrary processes inside pseudo-terminals (PTY).
Note: a PTY is not a shell process (bash/pwsh/cmd...)