Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

I am having a fork problem

by krujos (Curate)
on Jun 12, 2002 at 14:27 UTC ( #173842=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     
    ### BEGINING OF FORK
    #
    ...
    }
    else {
            #do the rest of the script here. 
    
  2. or download this
    #!/usr/local/bin/perl -w 
    use strict;
    ...
            sleep(1);
            print "This is the return to the parent process\n";
    }
    
  3. or download this
     
    This is the original process the pid = 5292
            This is the child process.. parentpid = 5292
            This is the child process its pid = 5293
    This is the return to the parent process
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://173842]
Approved by DamnDirtyApe
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: (4)
As of 2014-07-13 00:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (244 votes), past polls