Re: Problem in redirection
- From: "Sisyphus" <sisyphus1@xxxxxxxxxxxxxxxxx>
- Date: Wed, 5 Sep 2007 23:45:46 +1000
"sachin" <sachinahuja82@xxxxxxxxx> wrote in message
..
..
Sorry for my late reply.
No problem
When I use 1st CLI arg and include redirection statement,then traces
vanishes completely on console.
And they don't appear in foo.txt either ??
That's strange ... I don't have an explanation.
All I can suggest is that you try posting to perlmonks ( http://www.perlmonks.org/index.pl?node=Seekers%20of%20Perl%20Wisdom ) where you'll reach more people (and thus a broader range of expertise).
It would probably help your cause if you could demo the problem using only perl files - ie instead of having Win32::Process run CLI.exe, have it run a perl file (say, CLI.pl). It's not hard to simulate a hanging program that produces output to stdout and stderr:
----------------------------------------------
use warnings;
my $x = 0;
while(1) {
if($x % 5000000 == 0) {
warn "This printed to STDERR\n";
print "This is printed to STDOUT\n"
}
$x++;
}
----------------------------------------------
Cheers,
Rob
.
- References:
- Re: Problem in redirection
- From: sachin
- Re: Problem in redirection
- Prev by Date: Re: Name my Module!
- Next by Date: Re: Name my Module!
- Previous by thread: Re: Problem in redirection
- Index(es):
Relevant Pages
|
|