Re: Changing the inherited STDOUT
- From: Daniel Fischer <spam@xxxxxxxxxx>
- Date: Wed, 31 May 2006 10:29:16 +0200
Mumia W.!
yosi.kal@xxxxxxxxx wrote:
My program runs as a child process of a process that its STDOUT was
redirected to a file. (open STDOUT, ">$logfile").
[...]
"Perldoc -f open" shows you how to save and restore STDOUT (and STDIN
and STDERR).
This would only work if the child process redirected STDOUT itself, which
from my understanding of the question, it does not.
Daniel
.
- Follow-Ups:
- Re: Changing the inherited STDOUT
- From: Mumia W.
- Re: Changing the inherited STDOUT
- From: José Luis Pérez Diez
- Re: Changing the inherited STDOUT
- References:
- Changing the inherited STDOUT
- From: yosi.kal@xxxxxxxxx
- Re: Changing the inherited STDOUT
- From: Mumia W.
- Changing the inherited STDOUT
- Prev by Date: How do I run a Perl script as a Windows XP Service?
- Next by Date: Re: Negated Perl Regexp
- Previous by thread: Re: Changing the inherited STDOUT
- Next by thread: Re: Changing the inherited STDOUT
- Index(es):
Relevant Pages
|