Re: PyQt calling an external app?

2006-01-10 Thread Giovanni Bajo
gregarican wrote: What's the easiest and cleanest way of having PyQt bring up an external application? You can also go the Qt way and use QProcess. This also gives you cross-platform communication and process killing capabilities which are pretty hard to obtain (see the mess in Python with

Re: PyQt calling an external app?

2006-01-10 Thread gregarican
Giovanni Bajo wrote: You can also go the Qt way and use QProcess. This also gives you cross-platform communication and process killing capabilities which are pretty hard to obtain (see the mess in Python with popen[1234]/subprocess). You also get nice signals from the process which

PyQt calling an external app?

2006-01-09 Thread gregarican
What's the easiest and cleanest way of having PyQt bring up an external application? In this case I am looking to launch Internet Explorer and bring up a specific URL. I don't care about tracking the IE process' activity and don't want PyQt to wait until the browser is closed. I tried the

Re: PyQt calling an external app?

2006-01-09 Thread Paul Boddie
gregarican wrote: [os.system using the start command on Windows] When I use this the PyQt app freezes up and only when I forcefully close it does the browser window pop up. What does os.startfile do when invoked with the URL? My impression was that the startfile function - available only on

Re: PyQt calling an external app?

2006-01-09 Thread gregarican
Paul Boddie wrote: What does os.startfile do when invoked with the URL? My impression was that the startfile function - available only on Windows - doesn't wait for the command to finish, but I don't run Windows and can't test this. Any feedback would be appreciated, though, since it's part