pvolok / mprocs

Run multiple commands in parallel
MIT License
1.51k stars 50 forks source link

Consider changing default stop signal #104

Open pvolok opened 11 months ago

pvolok commented 11 months ago

Currently default stop signal is SIGTERM on Unix and TerminateProcess on Windows.

On Windows, we should use some softer way that will allow proper termination. Perhaps sending 0x03 (Ctrl-C in ASCII) char?

On Unix some programs don't react to SIGTERM. For example, remix dev doesn't react to SIGTERM. On the other hand, nvim (and maybe zsh) will not stop if 0x03 char is sent to stdin.