Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 }

Replies are listed 'Best First'.
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 lurking in the Monastery: (5)
As of 2016-06-26 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (331 votes). Check out past polls.