The documentation says that the error() signal will be emitted if the child process crashes, but would finished() be emitted as well or is it only emitted when it exits successfully?
The documentation says that the error() signal will be emitted if the child process
Share
Yes. And it returns you status, as docs state: