Re: System question

2010-01-14 Thread Jeremiah Foster
On Jan 14, 2010, at 12:43 AM, Jim Gibson wrote: On 1/13/10 Wed Jan 13, 2010 3:28 PM, ANJAN PURKAYASTHA anjan.purkayas...@gmail.com scribbled: Hi, Suppose I run an application from within a perl script, with system (eg system (myfavprogram input_file out_file)). Is there a way to let

Re: System question

2010-01-13 Thread Jim Gibson
On 1/13/10 Wed Jan 13, 2010 3:28 PM, ANJAN PURKAYASTHA anjan.purkayas...@gmail.com scribbled: Hi, Suppose I run an application from within a perl script, with system (eg system (myfavprogram input_file out_file)). Is there a way to let the script know that the program has finished running

% System Question

2007-01-10 Thread Guerrero, Citlali (GE, Corporate, consultant)
Hi all : Does anyone knows how to catch the error standard from a call to system? I mean something like this: use strict; use warnings; pritn Calling the second script : \n; system(perl hi_all.pl) exit; if the hi_all.pl script prints something to the STDERR it of course print it, but I

Re: % System Question

2007-01-10 Thread John W. Krahn
Guerrero, Citlali (GE, Corporate, consultant) wrote: Hi all : Hello, Does anyone knows how to catch the error standard from a call to system? perldoc -q stderr John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short

Re: % System Question

2007-01-10 Thread Mumia W.
On 01/10/2007 04:20 PM, Guerrero, Citlali (GE, Corporate, consultant) wrote: Hi all : Does anyone knows how to catch the error standard from a call to system? I mean something like this: use strict; use warnings; pritn Calling the second script : \n; system(perl hi_all.pl) exit; if the

Not your average system() question...

2002-02-06 Thread kevin . schmidt
I understand how the system command works. I understand the difference between system() and backticks. My question is this: I want to make a call to an external program and I want the output printed to the command line as it is processing, BUT, I also want the output returned to me so that I

RE: Not your average system() question...

2002-02-06 Thread Nikola Janceski
: Wednesday, February 06, 2002 9:54 AM To: [EMAIL PROTECTED] Subject: Not your average system() question... I understand how the system command works. I understand the difference between system() and backticks. My question is this: I want to make a call to an external program and I want the output

Re: Not your average system() question...

2002-02-06 Thread Brett W. McCoy
On Wed, 6 Feb 2002 [EMAIL PROTECTED] wrote: I understand how the system command works. I understand the difference between system() and backticks. My question is this: I want to make a call to an external program and I want the output printed to the command line as it is processing, BUT, I

Re: Not your average system() question...

2002-02-06 Thread William.Ampeh
I usually do not use system or command ticks. I always pipe the output to STDOUT if I wish to manipulate the output of any system command. Alternatively, you could redirect output to a TEMP file, then read from that file, but piping is more efficient. open MY_STDOUT, {system command} | or

Re: Not your average system() question...

2002-02-06 Thread Christopher Solomon
On Wed, 6 Feb 2002 [EMAIL PROTECTED] wrote: I understand how the system command works. I understand the difference between system() and backticks. My question is this: I want to make a call to an external program and I want the output printed to the command line as it is processing, BUT, I