errored: if the command failed spawning exited: if the command is not running anymore, e.g. it received a close event pid: the command's process ID. stdin: a Writable stream to the command'sstdin. stdout: an RxJS observable to the command'sstdout. ...
options.silent =true;constforkedProcess = childProcess.fork(path, args, options);constoutputPromise = pipesToString(forkedProcess.stdout!, forkedProcess.stderr!);// listen for errors as they may prevent the exit event from firingforkedProcess.on('error', (error) => { commandError = error; }...