]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utilsexc.cpp
somehow log target wasn't being created automatically anymore. Restored.
[wxWidgets.git] / src / msw / utilsexc.cpp
index cfd23a7f25af9625ca0dcd97c48cbb856d32ec29..43e66153a2ab55c093967c3b9dd0183141def425 100644 (file)
@@ -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);
+}