MGR: bug fix: last item in arg list for run_program() should be NULL, not empty string.

This commit is contained in:
Charlie Fenton 2013-07-09 05:52:04 -07:00
parent 23abf4990b
commit e976facd40
1 changed files with 2 additions and 2 deletions

View File

@ -1489,10 +1489,10 @@ void CAdvancedFrame::OnLaunchNewInstance(wxCommandEvent& WXUNUSED(event)) {
int prog;
#endif
int argc = 3;
char* const argv[3] = {
char* const argv[2] = {
const_cast<char *>("boincmgr"),
const_cast<char *>("--multiple"),
const_cast<char *>("")
NULL
};
wxString strExecutable = wxGetApp().GetRootDirectory() + wxGetApp().GetExecutableName();