use the new wxExecute() API (no real changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1294,7 +1294,7 @@ static long wxDoExecuteWithCapture(const wxString& command,
|
|||||||
wxProcess *process = new wxProcess;
|
wxProcess *process = new wxProcess;
|
||||||
process->Redirect();
|
process->Redirect();
|
||||||
|
|
||||||
long rc = wxExecute(command, TRUE /* sync */, process);
|
long rc = wxExecute(command, wxEXEC_SYNC, process);
|
||||||
|
|
||||||
#if wxUSE_STREAMS
|
#if wxUSE_STREAMS
|
||||||
if ( rc != -1 )
|
if ( rc != -1 )
|
||||||
|
Reference in New Issue
Block a user