`mkOnClose` currently adds a callback for the `"exit"` signal, yet the node documentation clearly states that [`"close"` “is distinct from the 'exit' event, since multiple processes might share the same stdio streams.”](https://nodejs.org/api/child_process.html#child_process_event_close).
mkOnClosecurrently adds a callback for the"exit"signal, yet the node documentation clearly states that"close"“is distinct from the 'exit' event, since multiple processes might share the same stdio streams.”.