X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40531a9fda944fd68a694f143dd9db36d23c49c5..11e3c6ef36393fb5863ea2f9601d8facd73acb12:/utils/execmon/execmon.cpp diff --git a/utils/execmon/execmon.cpp b/utils/execmon/execmon.cpp index 00766ccd98..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 ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -117,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)...",