[wxPython-mac] Problems with wx.Process & wx.Execute

John Jackson jjackson at pobox.com
Mon Mar 17 16:38:23 PDT 2008


I've fixed #2 -- my error, I wasn't passing the panel looking for the  
event correctly to the wx.Process call.

But #1 is curious. It appears that if I add some code that ties my  
code up for a bit, then it gets the error stream. But otherwise it  
misses it.
Even though it gets called in the idle loop.

I notice if I let my script sit around long enough (6 minutes!) the  
original standard out shows up -- long after the standard error show up.

Django works by you starting a script called mange.py, which imports  
management.py and runs a method from it. management.py prints to  
standard out.

For some reason, the standard out from the second script  
(management.py) takes about 5 minutes to show up.

Run from the command line, the standard out shows up immediately.

On Mar 14, 2008, at 10:13 PM, John Jackson wrote:

> I've gotten further -- I can start and stop the server --, but am  
> still having a problem with
> 1. the initial output from the process getting lost (at one I _was_  
> getting it, but not anymore!)
> 2. wx.EVT_END_PROCESS never happening and associated method never  
> being called.


______________
John Jackson





More information about the wxpython-mac mailing list