Has anyone coded up something to implement a wxProcess-like class in
wxPython?
i need to run a second external app from my wxAPP and have something
happen in wxApp when the former process is finished. specifically, i
need (would like) a message sent to a wx Gui object to make it change
state when the external app exits.
i dont know how wxProcess implements this functionality cross-platform
in wxWindows, but if anyone has any ideas, i'm all ears, err, eyes. in
particular i had been interested in the ability to pass a wxProcess
object to wxExecute and have wxProcessObj.OnTerminate() called when
the process was finished. (and anyway, how DOES that work
cross-platform in plain wxWindows, threads???)
the kicker is i would like it to work both in linux (where i am
developing and testing) and in windows (the port destination).
in linux, i can do some stuff with fork and waitpid. in windows i
believe there is some stuff in Py Programming on Win32 that will
help.
but just curious to see if anyone has a "cross-platform" solution,
which is what the wxProcess-wxExecute held out as a promise
... imagine my horror and ssssshock when i started coding for
wxProcess and then later read the small print that said "not
implemented in wxPython"!!!
;-)))
many thanks
les schaffer