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:
Vadim Zeitlin 2002-09-08 00:41:16 +00:00
parent 45d5a0c6d8
commit 011a524e9e

View File

@ -867,7 +867,7 @@ bool wxShell(const wxString& command)
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