]> git.saurik.com Git - wxWidgets.git/commitdiff
use the new wxExecute() API (no real changes)
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 1 Apr 2002 21:33:50 +0000 (21:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 1 Apr 2002 21:33:50 +0000 (21:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/utilscmn.cpp

index 79ed4007dc174b413169292b3260600b86a4f705..92dabe4d64811f59f925758ed7a8ac76c6810ac1 100644 (file)
@@ -1294,7 +1294,7 @@ static long wxDoExecuteWithCapture(const wxString& command,
     wxProcess *process = new wxProcess;
     process->Redirect();
 
     wxProcess *process = new wxProcess;
     process->Redirect();
 
-    long rc = wxExecute(command, TRUE /* sync */, process);
+    long rc = wxExecute(command, wxEXEC_SYNC, process);
 
 #if wxUSE_STREAMS
     if ( rc != -1 )
 
 #if wxUSE_STREAMS
     if ( rc != -1 )