Re: Gathering output from a program

2001-09-13 Thread Robert Citek
Hello Sofia, What is happening is that only STDOUT is being saved in the @output array. STDERR is still going to the console (your screen). If on a UNIX/Linux system, try adding "2>&1" in front of your command like this: @output = `2>&1 infoerr_parse.pl`; The "2>&1" redirects any output to f

RE: Gathering output from a program

2001-09-10 Thread Yacketta, Ronald
one way I have done this in the past is open(COM, "parse.pl |") || die("fork failed: \l$!\n"); while ( ) { blah } close COM > -Original Message- > From: Sofia [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 10, 2001 13:21 > To: [EMAIL PROTECTED] > Subject: Gathering outpu