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

Subprocesses do not exit #65

Open
lewsmith opened this issue Oct 29, 2024 · 1 comment
Open

Subprocesses do not exit #65

lewsmith opened this issue Oct 29, 2024 · 1 comment

Comments

@lewsmith
Copy link

lewsmith commented Oct 29, 2024

I seem to have an issue where my rust project, a simple actix api, doesn't appear to kill the cargo sub-process. I have to manually kill any processes left after doing a CTRL+C in the terminal. What's strange is on some very rare occasions everything exits fine.

I initially thought about posting this as an issue in the NX repo, but I don't see this behaviour with non-rust projects.

I'm running my app the usual way: nx run auth-api:run

monodon1

then killing with CTRL + C, which leaves the cargo process

monodon2

Anyone else see this, or is it just me?

@Cammisuli
Copy link
Owner

Theres probably something weird happening with long running processes here. I can probably update it to use the pseudo terminal support I built into Nx so that it behaves the same.

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

No branches or pull requests

2 participants