in reply to Re^2: How to find all open STDERR and STDOUT dups?
in thread How to find all open STDERR and STDOUT dups?
I still need to figure out how to selectively close those handles that correspond to STDERR and STDOUT,
Would it not be sufficient to simple close all open files in your child?
use POSIX (); ... } else { ## child POSIX::close( $_ ) for 0 .. 255; ## Or higher if that's a possibil +ity ''' }
|
|---|