execute commands independantly

Jorgen Grahn jgrahn-nntq at algonet.se
Tue Sep 6 19:56:37 CEST 2005

On 6 Sep 2005 08:07:12 -0700, Eric McGraw <thelinuxmaster at gmail.com> wrote:
> If you want it to return when the program is finished then use
> os.system('app') but if you just want to start it and return right
> away, use os.startfile('app')

That one is Windows-only, though -- at least in 2.3 where I live. The
os.spawn* family of calls are more portable, but I'm not sure it's a good
idea to just spawn-and-forget a process. 


  // Jorgen Grahn <jgrahn@       Ph'nglui mglw'nafh Cthulhu
\X/                algonet.se>   R'lyeh wgah'nagl fhtagn!

More information about the Python-list mailing list