Open jglanz opened 3 weeks ago
Do you have some reproduction instructions? I use jest-electron-runner in many projects which are also used by windows developers and I never heard about this problem.
Checking the killed flag before killing the process sounds reasonable, I can apply this. But I don't understand the second change in your patch. Instead of killing the process group (negative PID) it now kills the process twice?
On windows, the
subProcess
kill logic was causingEPERM
issues as it was trying to kill an already dead processBelow patch was generated via directly hacking the
RPCProcess
(withpatch-package
), but it should be fairly close to a final remedy @kayahr+jest-electron-runner+29.14.0.patchOther than that, great work.