X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e626d7c78771793c08f5c5652f4a2c26f6f196ed..f75363eed1d32dd851f32485fd608122509eb7a5:/src/common/process.cpp diff --git a/src/common/process.cpp b/src/common/process.cpp index ccd0cc589b..7c23c47620 100644 --- a/src/common/process.cpp +++ b/src/common/process.cpp @@ -65,6 +65,7 @@ void wxProcess::Init(wxEvtHandler *parent, int id, int flags) /* static */ wxProcess *wxProcess::Open(const wxString& cmd, int flags) { + wxASSERT_MSG( !(flags & wxEXEC_SYNC), wxT("wxEXEC_SYNC should not be used." )); wxProcess *process = new wxProcess(wxPROCESS_REDIRECT); if ( !wxExecute(cmd, flags, process) ) {