t you
should use 'system();'
At least, that's what I think.
Peter C.
-Original Message-
From: Dean Theophilou [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 15, 2002 5:13 PM
To: Agustin Rivera; Jim Ockers; [EMAIL PROTECTED]
Subject: RE: running commands in bkgd
Yes, b
D]
Subject: Re: running commands in bkgd
If you use backticks, Perl is waiting for a return value. Such as
$var=`echo bunchofdata`;
print $var
--
bunchofdata
Agustin Rivera
Webmaster, Pollstar.com
http://www.pollstar.com
- Original Message -
From: "Dean Theophilou" &l
ustin Rivera" <[EMAIL PROTECTED]>; "Jim Ockers"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, January 15, 2002 4:29 PM
Subject: RE: running commands in bkgd
> So what you're saying is that the backticks wait until the process is
finished?
> I was wonde
PROTECTED]]
Sent: Tuesday, January 15, 2002 4:26 PM
To: Jim Ockers; [EMAIL PROTECTED]
Subject: Re: running commands in bkgd
Use the system command.
Agustin Rivera
Webmaster, Pollstar.com
http://www.pollstar.com
- Original Message -
From: "Jim Ockers" <[EMAIL PROTECTED]
Use the system command.
Agustin Rivera
Webmaster, Pollstar.com
http://www.pollstar.com
- Original Message -
From: "Jim Ockers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 15, 2002 4:24 PM
Subject: running commands in bkgd
>
> I&
I'd like to make a perl script that runs queues up jobs.
Using the backticks works well except that if I attempt to run
something in the background (i.e. `foobar &`) the script pauses until
the job is complete.
Is this limitation due to the shell rather than perl?
Thanks,
-Jim
--
To unsu