Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^5: Running a process in the background

by Joost (Canon)
on Nov 23, 2004 at 23:43 UTC ( #410020=note: print w/ replies, xml ) Need Help??


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

undef == 0 - use defined instead:

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


Comment on Re^5: Running a process in the background
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2015-01-30 22:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (254 votes), past polls