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

Re: How to find all open STDERR and STDOUT dups?

by tlm (Prior)
on Mar 31, 2009 at 20:06 UTC ( [id://754519]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my $job_id = new_job_id();
        $SIG{ CHLD } = 'IGNORE';
    ...
        }
    
        exit;
    
  2. or download this
    open (ERROR, ">&STDERR");
    printf STDERR "fileno( STDERR ): %d\n", fileno( STDERR );
    printf STDERR "fileno( ERROR ): %d\n", fileno( ERROR );
    
  3. or download this
    fileno( STDERR ): 2
    fileno( ERROR ): 6
    
  4. or download this
    use Parse::RecDescent;
    
    ...
    closing 6
    no luck with lsoftest     14113 yt    7r  FIFO    0,6           891817
    +71 pipe
    Nya, nya!  I'm still open!
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-03-29 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found