The stdin stream.
The stdout stream.
Waits for both process exit and for all the streams to be closed.
Wait for the process to exit, streams can still emit data.
Emit the onClose event for this process. Only one of code and signal should be defined.
Emit the onExit event for this process. Only one of code and signal should be defined.
the current working directory as a URI (usually file:// URI)
The stderr stream.