Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: starting a process in the background, with a twist

by Happy-the-monk (Abbot)
on Mar 21, 2012 at 10:42 UTC ( #960750=note: print w/ replies, xml ) Need Help??


in reply to starting a process in the background, with a twist

then kill it after a pre-defined amount of time

Alternatively you might check time() inside your process and finish it off gracefully by its own controls when it has aged that pre-defined amount of time, saving you the hassle of using signals from outside.

Cheers, Sören

  • Comment on Re: starting a process in the background, with a twist

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://960750]
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: (10)
As of 2016-07-28 19:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (256 votes). Check out past polls.