// Created: 25/3/09
// RCS-ID: $Id$
// Copyright: (c) 2009 Francesco Montorsi
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// ============================================================================
#endif
#ifndef WX_PRECOMP
+ #include "wx/app.h"
+ #include "wx/log.h"
#endif // WX_PRECOMP
#include "wx/cmdline.h"
#include "wx/sstream.h"
#include "wx/utils.h"
#include "wx/filename.h"
+#include "wx/app.h"
+#include "wx/log.h"
// ============================================================================
// implementation
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)...",