fbp-spec icon indicating copy to clipboard operation
fbp-spec copied to clipboard

Ctrl+C / SIGINT should quit process cleanly

Open mjp0 opened this issue 8 years ago • 1 comments

I have been getting familiar with fbp-spec and I have noticed that for some reason the process doesn't exit properly. It just hangs and my only option is to killall node.

It looks like something is hijacking SIGINT in fbp-spec (at least on macOS 10.12) because I can't CTRL+C out of the process either.

Same problem happens with noflo-nodejs.

edit This could be related to error handling as outlined in #137 because I noticed that my test had a broken fixture syntax thanks to auto-indent so now it works and exits properly.

mjp0 avatar Nov 23 '17 07:11 mjp0

Probably need to add an explicit signal handler, and to call cleanup of runtime subprocess

jonnor avatar Dec 27 '17 11:12 jonnor