in reply to Re: Running an application and capturing output
in thread Running an application and capturing output

I tried that also...but that was also giving the same error. The error looks like
C:\Neshat\Perl-Scripts>perl captureexeoutput.pl Can't take log of 0 at captureexeoutput.pl line 8, <APP> line 1. FINDSTR: Write error The process tried to write to a nonexistent pipe. The process tried to write to a nonexistent pipe. The process tried to write to a nonexistent pipe. The process tried to write to a nonexistent pipe. The process tried to write to a nonexistent pipe. ^C^C C:\Neshat\Perl-Scripts>

Replies are listed 'Best First'.
Re^3: Running an application and capturing output
by thundergnat (Deacon) on Jun 02, 2005 at 01:59 UTC

    Do you have the $ sigil on your variable? It isn't in your example. log is a function. $log is the name of your Logger.

      Thanks a lot...that was really stupid of me...it has been a long day