X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbe31039f7ee6169d80386fd75a9f03316f8d261..a34ce03d63c10f555a63d593b257080fc070a26d:/utils/execmon/execmon.cpp diff --git a/utils/execmon/execmon.cpp b/utils/execmon/execmon.cpp index dbc824ec4b..646bb62242 100644 --- a/utils/execmon/execmon.cpp +++ b/utils/execmon/execmon.cpp @@ -35,6 +35,8 @@ #include "wx/sstream.h" #include "wx/utils.h" #include "wx/filename.h" +#include "wx/app.h" +#include "wx/log.h" // ============================================================================ // implementation @@ -115,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)...",