Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: Running a process in the background

by binary (Novice)
on Nov 23, 2004 at 23:05 UTC ( #410013=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Running a process in the background
in thread Running a process in the background

Hello, Remember to check for a fork error after forking:

if (my $pid = fork) { ## Parent } elsif ($pid == 0) { ## Child } else { ## Error, $pid is undefined }


Comment on Re^4: Running a process in the background
Download Code
Re^5: Running a process in the background
by Joost (Canon) on Nov 23, 2004 at 23:43 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2015-07-04 04:33 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 (57 votes), past polls