Open kuceb opened 5 years ago
Hey @Bkucera thanks for the issue! From the looks of that code it would definitely seem like it should send out the exit
event. I don't know if that's due to a change in node APIs or not - it's been a little while since I wrote this. I'd happily take a PR to add it in
I'm running into the same issue. I'll work around this for the time being by calling cp.emit('exit', 0, null)
myself, but I intend to provide a PR for this in the near future.
Hey @call-a3 thanks for letting us know of a workaround. Let me know if there's anything I can do to support you
I was using this to test
execa
, which listens to theexit
anderror
eventsShould the
kill
method also emit theexit
event?https://github.com/sindresorhus/execa/blob/v1.0.0/index.js#L239