X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3814912fca98735888716d49c7d8e127dd4459a5..14619f10b0bdb630206607abd0ce0319d45e095a:/utils/execmon/execmon.cpp diff --git a/utils/execmon/execmon.cpp b/utils/execmon/execmon.cpp index a0c7adf53a..b78809596a 100644 --- a/utils/execmon/execmon.cpp +++ b/utils/execmon/execmon.cpp @@ -6,7 +6,7 @@ // Created: 25/3/09 // RCS-ID: $Id$ // Copyright: (c) 2009 Francesco Montorsi -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -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)...",