Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Run and Stop another program in perl

by dwhite20899 (Friar)
on Aug 24, 2010 at 00:45 UTC ( [id://856830]=note: print w/replies, xml ) Need Help??


in reply to Run and Stop another program in perl

My suggestion is to read about the alarm() funtion, although it's different across many Windows platforms.

Effectively, you can set a timer, run program.exe for the amount of time you choose, then the exe will be killed, and your script will continue.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2026-01-15 20:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (118 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.