|
Posted by Sisyphus on September 5, 2007, 9:45 am
Please log in for more thread options
.
.
> 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
|