]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
fixed GetPath() trailing separator bug, rewrote GetFullPath() in terms of GetPath()
[wxWidgets.git] / 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();
 
-    long rc = wxExecute(command, TRUE /* sync */, process);
+    long rc = wxExecute(command, wxEXEC_SYNC, process);
 
 #if wxUSE_STREAMS
     if ( rc != -1 )