From 171284c29acb551868f81bd6e5c2fb0b3d069062 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 12 Apr 2007 00:50:48 +0000 Subject: [PATCH] Add wxEXEC_NOEVENTS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_process.i | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/wxPython/src/_process.i b/wxPython/src/_process.i index 7a9b5759f4..55e45309a9 100644 --- a/wxPython/src/_process.i +++ b/wxPython/src/_process.i @@ -189,7 +189,15 @@ enum // 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 + wxEXEC_NODISABLE = 8, + + // by default, the event loop is run while waiting for synchronous execution + // to complete and this flag can be used to simply block the main process + // until the child process finishes + wxEXEC_NOEVENTS = 16, + + // convenient synonym for flags given system()-like behaviour + wxEXEC_BLOCK = wxEXEC_SYNC | wxEXEC_NOEVENTS }; -- 2.45.2