Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Effect of redirecting output to /dev/null on $? value

by Special_K (Monk)
on Aug 03, 2020 at 00:14 UTC ( [id://11120244]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    `my_executable_that_seg_faults`;
    
    ...
    printf("exit_value = $exit_value\n");
    printf("signal_num = $signal_num\n");
    printf("dumped_core = $dumped_core\n");
    
  2. or download this
    return value is 11
    exit_value = 0
    signal_num = 11
    dumped_core = 0
    
  3. or download this
    `my_executable_that_seg_faults > /dev/null`;
    
  4. or download this
    return value is 35584
    exit_value = 139
    signal_num = 0
    dumped_core = 0
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-16 04:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found