[wxPython-users] running a help file from within your program

Andreas Baumgartner gigl at giglserver.de
Mon Jan 29 09:57:40 PST 2007


> Calling os.spawn*() with os.P_WAIT will result in the thread that called
> the function to stall waiting for the created process to finish, as per
> the documentation. There are many ways around this;
> 
> * Wrap the above into a new thread.
> * Use os.P_NOWAIT instead.
> * Use the subprocess module (built in with Python 2.4 and later).
> * Use the wx.Execute/wx.Process pair.

Is there a "best" way to choose?

Andreas




More information about the wxpython-users mailing list