Launch file from Python

kyosohma at gmail.com kyosohma at gmail.com
Wed Aug 8 14:57:52 EDT 2007


On Aug 8, 1:11 pm, jocago <joc... at gmail.com> wrote:

> The application, however, never runs. I'll give the sub-process a
> shot. Thanks.

Well, that's a problem. I suppose the best thing to try is use some
smaller sets of flags and see if they work. Instead of your long
string, try something smaller, like:

subprocess.Popen("xplanet-1.2.0/xplanet.exe -fontsize 24 -label -
target earth", shell=True)

Once you've gotten it to work on a smaller scale, you should be able
to work your way up.

Mike




More information about the Python-list mailing list