X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e64d4e1e572835accdca5cc58cbcaf8d3aa8359..520e470fdd0daef09c77938db642e4583933c90d:/src/msw/utilsexc.cpp?ds=sidebyside diff --git a/src/msw/utilsexc.cpp b/src/msw/utilsexc.cpp index cfd23a7f25..43e66153a2 100644 --- a/src/msw/utilsexc.cpp +++ b/src/msw/utilsexc.cpp @@ -203,3 +203,16 @@ long wxExecute(const wxString& command, bool sync, wxProcess *handler) return(instanceID); #endif } + +long wxExecute(char **argv, bool sync, wxProcess *handler) +{ + wxString command = ""; + + while (*argv != NULL) { + command += *argv; + command += ' '; + argv++; + } + command.RemoveLast(); + return wxExecute(command, sync, handler); +}