diff --git a/src/msw/utilsexc.cpp b/src/msw/utilsexc.cpp index 6ff8518ec4..cfd23a7f25 100644 --- a/src/msw/utilsexc.cpp +++ b/src/msw/utilsexc.cpp @@ -26,6 +26,7 @@ #include "wx/app.h" #endif +#include "wx/log.h" #include "wx/msw/private.h" #include @@ -144,6 +145,8 @@ long wxExecute(const wxString& command, bool sync, wxProcess *handler) if (((long)result) <= 32) { free(cl); + + wxLogSysError(_("Can't execute command '%s'"), command.c_str()); return 0; }