in reply to Re: Can't close STDIN/STDOUT/STDERR
in thread Can't close STDIN/STDOUT/STDERR

} else { #Child die "cannot fork: $!" unless defined $child_pid; close(READER) or die "can't close READER: $!"; close(STDIN) or die "can't close STDIN: $!"; close(STDOUT) or die "can't close STDOUT: $!"; close(STDERR) or die "can't close STDERR: $!";

Replies are listed 'Best First'.
Re^3: Can't close STDIN/STDOUT/STDERR
by ikegami (Patriarch) on Feb 09, 2010 at 21:15 UTC
    I seriously doubt that code is issuing the error. One of those handles would have to use magic Google didn't find, or some Perl functions would have been replaced by some module Google didn't find. Neither are likely.