Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Effect of redirecting output to /dev/null on $? value

by afoken (Chancellor)
on Aug 04, 2020 at 20:27 UTC ( [id://11120288]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    `exec my_executable_that_seg_faults > /dev/null`;
    
  2. or download this
    # (untested)
    my $pid=fork();
    ...
        exec { $cmd_and_args[0] } @cmd_and_args;
        die "exec failed: $!";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11120288]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found