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

Leaves dangling child processes on Windows #28657

Open
1 of 4 tasks
llong2195 opened this issue Oct 28, 2024 · 0 comments
Open
1 of 4 tasks

Leaves dangling child processes on Windows #28657

llong2195 opened this issue Oct 28, 2024 · 0 comments

Comments

@llong2195
Copy link

Current Behavior

#28207 The issue also occurs with 19.8.x, but the fix was only released for 20.x. I’m hesitant to upgrade Nx to v20 due to potential new issues. I hope a fix will be available soon for 19.8.x.

Expected Behavior

I hope a fix will be available soon for 19.8.x.

GitHub Repo

No response

Steps to Reproduce

  1. Run a NX command which uses the nx:run-commands executor
  2. Kill the command in the terminal with ctrl+c
  3. Check Windows Task Manager to see that the process that was started is still running (this is easiest to see if the first process starts a server on a port since the second run will now fail since that port is still in-use)

Nx Report

Node : 20.18.0
OS : win32-x64
Native Target : x86_64-windows
pnpm : 9.12.2

nx : 19.8.8
@nx/js : 19.8.8
@nx/jest : 19.8.8
@nx/linter : 19.8.8
@nx/eslint : 19.8.8
@nx/workspace : 19.8.8
@nx/cypress : 19.8.8
@nx/devkit : 19.8.8
@nx/eslint-plugin : 19.8.8
@nx/nest : 19.8.8
@nx/next : 19.8.8
@nx/node : 19.8.8
@nx/react : 19.8.8
@nrwl/tao : 19.8.8
@nx/web : 19.8.8
@nx/webpack : 19.8.8
typescript : 5.6.3

Registered Plugins:
@nx/next/plugin
@nx/webpack/plugin
@nx/eslint/plugin
@nx/jest/plugin
@nx/cypress/plugin

Failure Logs

No response

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

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

1 participant