node-tree-kill
node-tree-kill copied to clipboard
'taskkill' is not recognized as an internal or external command
👋 Hi, we're using tree-kill
in Stryker. We occasionally see this error when running tree-kill
on windows:
Command failed: taskkill /pid 14880 /T /F
'taskkill' is not recognized as an internal or external command,
It might not be reasonable to assume that taskkill
exists on the path. Would a workaround to a simple process.kill
be something that you're interested in? Or maybe someone knows another way to do this?
Maybe we can try a second time with a hard file path (C:\...\system32\
), or add that dir to the PATH for the command?