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" > 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

Re: System question

2010-01-13 Thread Jim Gibson
On 1/13/10 Wed Jan 13, 2010 3:28 PM, "ANJAN PURKAYASTHA" 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 > and that I can mov

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 th

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 shor