close event (ChildProcess)

Event: 'close'

  • code <Number> the exit code if the child exited on its own.
  • signal <String> the signal by which the child process was terminated.

The 'close' event is emitted when the stdio streams of a child process have been closed. This is distinct from the 'exit' event, since multiple processes might share the same stdio streams.

doc_Nodejs
2016-04-30 04:38:09
Comments
Leave a Comment

Please login to continue.