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
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
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
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
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
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