corrected wxShell() ret code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -867,7 +867,7 @@ bool wxShell(const wxString& command)
|
|||||||
cmd.Printf(wxT("%s /c %s"), shell, command.c_str());
|
cmd.Printf(wxT("%s /c %s"), shell, command.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
return wxExecute(cmd, TRUE /* sync */) != 0;
|
return wxExecute(cmd, wxEXEC_SYNC) == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Shutdown or reboot the PC
|
// Shutdown or reboot the PC
|
||||||
|
Reference in New Issue
Block a user