[sf-perl] Spawning external program within Perl

Asheesh Laroia asheesh at asheesh.org
Wed Nov 8 10:03:21 PST 2006

On Wed, 8 Nov 2006, Loo, Peter # PHX wrote:

> Hi David,
> I did try exec() and system().  However, exec() stops my calling program 
> while system() waits for the called program to finish.

If you do system("progname &");, is that satisfactory?  Note the "&" I 
added; that asks the shell to background the job.

-- Asheesh.

Perilous to all of us are the devices of an art deeper than we ourselves
 		-- Gandalf the Grey [J.R.R. Tolkien, "Lord of the Rings"]

More information about the SanFrancisco-pm mailing list