]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/process.cpp
ExitOnFrame behaviour update for wxMac
[wxWidgets.git] / src / common / process.cpp
index ccd0cc589bd330735f173fdf69300cd508af66c5..7c23c4762076117016c77d6cfdeefef5097bdd95 100644 (file)
@@ -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) )
     {