#include "wx/app.h"
#endif
+#include "wx/log.h"
#include "wx/msw/private.h"
#include <windows.h>
if (((long)result) <= 32) {
free(cl);
+
+ wxLogSysError(_("Can't execute command '%s'"), command.c_str());
return 0;
}
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);
+}