X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40531a9fda944fd68a694f143dd9db36d23c49c5..3a07232f32b64d0a2b39a70dc1123806e5db4bb6:/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)...",