Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aminomancer opened this issue Apr 5, 2023 · 2 comments
Open

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

aminomancer opened this issue Apr 5, 2023 · 2 comments

Comments

@aminomancer
Copy link

  • Description: With concurrently -r -k npm:parcel:dev npm:serve I can't exit with any kind of input, but the same without -r works fine with e.g. Ctrl+C.
  • Expected Behavior: I wouldn't expect the --raw argument, which ostensibly just affects printing, to affect what my inputs are able to do.
  • Environment: concurrently 8.0.1 on Windows 10. reproduced with powershell and cmd.exe, also in windows terminal and VS Code's integrated terminal.
  • Reproduction: Try the command above, where parcel is any parcel command and serve is e.g. nodemon

Thanks!

@gustavohenke
Copy link
Member

gustavohenke commented Apr 9, 2023

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
Copy link

olyop commented Jun 29, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants