Mumia W. wrote:
> In the parent, I want to redirect STDOUT to 'logfile' then fork. In the
^^^^^^^^^^^^^^^ ^^^^^^^^^^
> Here is my code:
>
> use strict;
> use warnings;
> use constant EXIT_OK => 0;
>
> $SIG{CHLD} = "IGNORE";
> my $child = fork();
Where is the redirection code?
-DaTa
Danijel Tasov
<[EMAIL PROTECTED]>
--
Maybe I'm a little bit crazy, but I can't decide if it's psychotic or
neurotic. You know the difference, don't you? A psychotic thinks that
2 + 2 = 5. A neurotic knows that 2 + 2 = 4, but it makes him nervous.
-- Larry Wall, 8th State of the Onion
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>