Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2015-07-05 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls