Re: execute commands independantly

2005-09-06 Thread Jorgen Grahn
On 6 Sep 2005 08:07:12 -0700, Eric McGraw <[EMAIL PROTECTED]> 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 l

Re: execute commands independantly

2005-09-06 Thread Mike Tammerman
You're right, I tried subprocess.call and os.spawn* functions. Popen is what I will be happy with. Thanks a lot. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: execute commands independantly

2005-09-06 Thread Eric McGraw
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') -- http://mail.python.org/mailman/listinfo/python-list

Re: execute commands independantly

2005-09-06 Thread Rune Strand
Mike Tammerman wrote: > I am trying to execute an executable or a pyton script inside my > program. I looked at the subprocess and os module. But all the > functions in these modules blocks my application. What I want to do is > run the subprocess without any concern. I don't care of its return ty

Re: execute commands independantly

2005-09-06 Thread Leif K-Brooks
Mike Tammerman wrote: > Hi, > > I am trying to execute an executable or a pyton script inside my > program. I looked at the subprocess and os module. But all the > functions in these modules blocks my application. subprocess doesn't block unless you call .wait(): from subprocess import Popen pro

execute commands independantly

2005-09-06 Thread Mike Tammerman
Hi, I am trying to execute an executable or a pyton script inside my program. I looked at the subprocess and os module. But all the functions in these modules blocks my application. What I want to do is run the subprocess without any concern. I don't care of its return type or child signals. Just