Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

why does ignoring sigCHLD corrupt return value from system()?

by fiberhalo (Acolyte)
on Nov 05, 2003 at 00:15 UTC ( [id://304587]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    $SIG{'CHLD'} = 'IGNORE';
    system('prog2.pl');
    print "return value is ", $?>>8, "\n";
    
  2. or download this
    #!/usr/bin/perl
    exit 5;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://304587]
Approved by Roger
Front-paged by ehdonhon
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-18 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found