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
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
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 move on to the next step in the perl script?
TIA,
Anjan
--
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
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
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
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 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} | "
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
TED]]
Sent: 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
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 can
11 matches
Mail list logo