X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3814912fca98735888716d49c7d8e127dd4459a5..e2758e21753c00b8e36f11c003fd6cd0e5137391:/utils/execmon/execmon.cpp diff --git a/utils/execmon/execmon.cpp b/utils/execmon/execmon.cpp index a0c7adf53a..646bb62242 100644 --- a/utils/execmon/execmon.cpp +++ b/utils/execmon/execmon.cpp @@ -25,6 +25,8 @@ #endif #ifndef WX_PRECOMP + #include "wx/app.h" + #include "wx/log.h" #endif // WX_PRECOMP #include "wx/cmdline.h" @@ -33,6 +35,8 @@ #include "wx/sstream.h" #include "wx/utils.h" #include "wx/filename.h" +#include "wx/app.h" +#include "wx/log.h" // ============================================================================ // implementation @@ -113,7 +117,9 @@ bool TestExec(const wxVector& programs, long timeout) long pid = wxExecute(programs[i].GetFullPath(), wxEXEC_ASYNC, &dt->process); if (pid == 0) + { wxLogError("could not run the program '%s'", programs[i].GetFullPath()); + } else { wxLogMessage("started program '%s' (pid %d)...",