Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How to portably stop processes?

by eyepopslikeamosquito (Bishop)
on Apr 01, 2023 at 03:19 UTC ( #11151406=note: print w/replies, xml ) Need Help??


in reply to How to portably stop processes?

In case it's of use, I wrote a couple of scripts years ago to run an external command on both Unix and Windows, killing it if it took more than a specified timeout, and reporting how long it took to run:

I enjoyed using Win32::Job much more that Win32::Process. BTW, I never use fork/exec emulation on Windows, too much general weirdness and confusion between threads and processes for my tastes.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11151406]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2023-06-04 10:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (20 votes). Check out past polls.

    Notices?