Can't find child processes by name on win32
464bb26bac556e85b6fd6b524347b103 opened this issue · 3 comments
464bb26bac556e85b6fd6b524347b103 commented
It looks like currently if you use child_process.spawn on win32 with detached:false, find-process is unable to find the process by name when search from within the same parent process that spawned the child.
I didn't test to see if this is a broader issue but the specified case should reproduce
yibn2008 commented
you can use https://github.com/yibn2008/find-process/blob/master/example/process.md to test if the process exists
hanjianqiao commented
yibn2008 commented
fixed, try latest version