X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c1718b2c8a1ae4e7f2a6f421cc398a21dfdb07cb..32485259c1342115488d219776dfebeb3d4d81b1:/wxPython/src/_process.i?ds=inline diff --git a/wxPython/src/_process.i b/wxPython/src/_process.i index 52f778d493..bada7e7ac4 100644 --- a/wxPython/src/_process.i +++ b/wxPython/src/_process.i @@ -78,7 +78,8 @@ IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate); %} -%name(Process)class wxPyProcess : public wxEvtHandler { +%rename(Process) wxPyProcess; +class wxPyProcess : public wxEvtHandler { public: // kill the process with the given PID static wxKillError Kill(int pid, @@ -164,7 +165,12 @@ enum // under Unix, if the process is the group leader then killing -pid kills // all children as well as pid - wxEXEC_MAKE_GROUP_LEADER = 4 + wxEXEC_MAKE_GROUP_LEADER = 4, + + // by default synchronous execution disables all program windows to avoid + // that the user interacts with the program while the child process is + // running, you can use this flag to prevent this from happening + wxEXEC_NODISABLE = 8 };