Stefan...
The line I'm trying to execute looks like:
"/dir/dir2/program -a -a -B 50000000 -c $var1 -d value $var2&"
I'm trying to do this with 'system' and failing. How would you
parse this run line for 'system' to execute?
-Chris
-----Original Message-----
From: Stefan Lidman [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 9:52 AM
To: [EMAIL PROTECTED]
Subject: Re: run in background from qx//?
>Hi...
> This should be easy, but I can't seem to do it. I'm trying to
>launch an external process from a Perl script to run in the background on a
>FreeBSD system. The process starts fine, but won't run in the background.
>I've tried:
>
>qx/<process> <args>&/
> qx/<process> <args>\&/
> `<process> <args>&`
> `<process> <args>\&`
> qx/<process> <args>'&'/
>
> etc., and the "&" doesn't seem to be making it from the Perl
>script to the shell. (BTW, doing "<process> <args>&" at the shell prompt
>works fine.)
> Any suggestions about how to launch a process in the background
>from a Perl script?
>-Chris
system '<process> <args>&';
/Stefan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]