Click here to get back home

Problem in redirection

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Problem in redirection sachin 08-25-2007
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


Similar ThreadsPosted
Problem with Net::FTP July 21, 2004, 12:40 pm
DBI - DBD-DB2 Problem - Please help June 2, 2005, 11:07 pm
Net::FTP->problem with put February 28, 2006, 2:11 am
Re: Problem with DBD::DB2 on AIX. September 20, 2006, 2:10 pm
net::telnet problem July 23, 2004, 6:46 pm
Lwp Post Problem September 1, 2004, 4:09 am
DBD-Pg installation problem September 20, 2004, 10:34 pm
SSL LWP Timeout problem September 21, 2004, 2:25 pm
Win32::API problem... May 25, 2005, 5:33 pm
mod_perl2 problem October 3, 2005, 8:02 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap