]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/execmon/execmon.cpp
No changes, just use wxRecursionGuard instead of manual boolean flag.
[wxWidgets.git] / utils / execmon / execmon.cpp
index 00766ccd98427078ef167385d1728f80915137e4..0fc6965f29975167c0958a085a9e79c19510e648 100644 (file)
@@ -4,9 +4,8 @@
 // Author:      Francesco Montorsi
 // Modified by:
 // Created:     25/3/09
-// RCS-ID:      $Id$
 // Copyright:   (c) 2009 Francesco Montorsi
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
@@ -117,7 +116,9 @@ bool TestExec(const wxVector<wxFileName>& 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)...",