From 3e64d4e1e572835accdca5cc58cbcaf8d3aa8359 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 7 Sep 1998 08:57:14 +0000 Subject: [PATCH] added wxLogSysError() in wxExecute() if the command fails git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/utilsexc.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.47.2