[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

RE: [pygame] launching an app from python?



I hope this is what you mean, try this if you haven't already:
_____________________________________
import os

os.system ("c:\\dir\\dir\\app.exe")
____________________________________

Plus you can add what ever command line options that you like, just like
at the command prompt.

Hope that helps,
Steven   




-----Original Message-----
From: owner-pygame-users@seul.org [mailto:owner-pygame-users@seul.org]
On Behalf Of enrike
Sent: Saturday, December 20, 2003 5:33 AM
To: pygame-users@seul.org
Subject: [pygame] launching an app from python?

hi

i guess its astupid question but i couldnt find th right way to do it.
I need to launch an exe from python. I have tried some commands but they

always wait for the other app to finish and return some value or they 
dont open the app until the current python program has finished.

I need python to run the exe and forget about it, just run them at the 
same time like any other app.

thanks!

-- 
enrike ::