Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 avoiding work at the Monastery: (2)
As of 2015-07-05 22:21 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 (68 votes), past polls