open-cli-tools / concurrently

Run commands concurrently. Like `npm run watch-js & npm run watch-less` but better.
https://www.npmjs.com/package/concurrently
MIT License
7k stars 228 forks source link

Can't kill any processes when --raw is passed #415

Open aminomancer opened 1 year ago

aminomancer commented 1 year ago

Thanks!

gustavohenke commented 1 year ago

Thanks for the details.

I can't reproduce it on macOS, but I did notice that parcel is possibly intercepting stdin. As in, it has a ~1s delay before accepting the Ctrl+C, whereas nodemon (or whatever other command) by itself accepts the Ctrl+C immediately.

@paescuj do you still have a Windows VM handy to test this?

the --raw argument, which ostensibly just affects printing, to affect what my inputs are able to do.

--raw passes stdio: 'inherit' to spawned commands, therefore this issue happening isn't so surprising actually.

olyop commented 1 year ago

I know it's outside of the JS ecosystem but I had the same problem when running Java gradle build. It seems it's the only process in the list that holds it up too.