[PyKDE] Launching an App from PyQt

Detlev Offenbach detlev at die-offenbachs.de
Thu Jan 16 20:47:00 GMT 2003

Am Donnerstag, 16. Januar 2003 18:59 schrieb Jonathan Gardner:
> I'm feeling really stupid about now.
> I think I remember seeing a thread about someone trying to launch an
> application from an application. I am running into that problem right
> now.
> Coming from a perl world, I never gave a second thought about how to
> do this. Now I am befuddled by the variety of options: system, popen,
> spawn, and so much more.
> I've tried a few of the above with varying amounts of success. I think
> the best was something like:
> os.system("python theapp.py &")
> although I know that this isn't quite right. Anyone have a favorite
> idiom they like to use from PyQt?

In the last eric snapshot I am using QProcess and its methods. Works fine 
for me and is easy to use.

Detlev Offenbach
detlev at die-offenbachs.de

More information about the PyQt mailing list