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:
parent
45d5a0c6d8
commit
011a524e9e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user