Thanks to you all for your answers !

jp.


-----Original Message-----
From: John W. Krahn [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 08, 2002 6:36 PM
To: [EMAIL PROTECTED]
Subject: Re: getting STDERR output...


Jean-Pierre Sylvanie wrote:
> 
> Hi guys,

Hello,

> Actually I want to get STDERR ouput to have more details about systems
call
> errors, and write the result to a log file...
> 
> I spent a couple of hours writing (well... Finding how to write ! :)
> the "sample code", but I have the feeling that all that stuff is
overkill...
> Is there something more simple ?


You could probably use IPC::Open3.

my $pid = open3( \*WTRFH, \*RDRFH, \*ERRFH, $ZIP_CMD, $filename );

Do a Google groups search for open3 on comp.lang.perl.misc and you
should find some examples.



John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to