Re: Problem in redirection




"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

.



Relevant Pages

  • Re: Who is doing what...The Stats!
    ... to know I didn't make any of the list for "over posting". ... It's important to remember this group is for venting as well as talking ... You need a working setup of the PERL scripting language. ... The following Perl files: ...
    (rec.radio.shortwave)
  • Re: Who is doing what...The Stats!
    ... to know I didn't make any of the list for "over posting". ... Mike, would you please port the hold URL for the site where you found these ... You need a working setup of the PERL scripting language. ... The following Perl files: ...
    (rec.radio.shortwave)