matt_mc has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl $pid=fork(); if ($pid) { print "Returned from fork $pid \n"; print "Parent process id $$ \n"; } else { exec("./a.out"); print "Something \n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Output of a forked process
by zigster (Hermit) on Apr 24, 2001 at 16:42 UTC |