01-25-07 12:19 AM
Connie <yeconnie@gmail.com> wrote:
> I heard that PERL by deafult set close-on-exec for all descriptors except
> STDIN STDOUT and STDERR. If that is true,
Looks like that's the case, see p. 423ff in the Camel book (3rd ed.).
You seem to have to clear the close-on-exec flag to make sure the
file gets inherited by an exec()ed process (or diddle with the $^F
variable while opening the file).
Regards, Jens
--
\ Jens Thoms Toerring ___ jt@toerring.de
\__________________________ http://toerring.de
[ Post a follow-up to this message ]
|