Anybody using wx.Process / wx.Execute

Hi,

Does anybody use wx.Process / wx.Execute in a xw app to
launch process and communicate asynchronously with it
AND obtain the exit status when it finishes?

Or do you use subprocess?

What are the pros and cons of the two methods?

Python 2.7 / wx 2.9.4

TIA

···


Kurt Mueller

I use subprocess as that's what the wxpython wiki article on longrunningtasks mentioned, or maybe It was the mouse vs python blog. I never heard of the wx functions before a few days ago.

Hi,

···

On Monday, September 1, 2014 6:07:23 AM UTC+2, Nathan McCorkle wrote:

I use subprocess as that’s what the wxpython wiki article on longrunningtasks mentioned, or maybe It was the mouse vs python blog. I never heard of the wx functions before a few days ago.

We have a problem with wx.Process/wx.Execute on our Linux systems since we upgraded them to SUSE 12.2

the way that the exit code of launched shell script is not reliably set.

See my post “wx.Process and OnTerminate or wx.EVT_END_PROCESS”.