![]() |
|
Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: killing pp exe on windows leaves child running? ( patch PAR-Packer-1.049\myldr\boot.c )by Anonymous Monk |
on Sep 01, 2019 at 23:23 UTC ( [id://11105396]=note: print w/replies, xml ) | Need Help?? |
Hmm, I think its not working cause it uses rc = spawnvp(P_WAIT, my_perl, (char* const*)argv); which ends up being from perl\win32\win32.c which ends up using CREATE_NEW_PROCESS_GROUP; So what needs done is copy/modify win32_spawnvp() or use CreateProcess directly ... to add JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE Too much blind experimenting for me at the moment Simply copy/pasting do_spawnvp_handle doesnt compile :/
In Section
Seekers of Perl Wisdom
|
|