Add patch from Jacobo Aragunde Perez <Log of opened and closed applications in KiCad launcher>

This commit is contained in:
Jacobo Aragunde Perez
2013-01-18 11:42:23 +01:00
committed by jean-pierre charras
parent 07273ac439
commit 295b5b5dea
7 changed files with 128 additions and 37 deletions
+2 -8
View File
@@ -313,15 +313,9 @@ wxString GenDate()
}
bool ProcessExecute( const wxString& aCommandLine, int aFlags )
int ProcessExecute( const wxString& aCommandLine, int aFlags, wxProcess *callback )
{
#ifdef __WINDOWS__
int pid = wxExecute( aCommandLine );
return pid ? true : false;
#else
wxProcess* process = wxProcess::Open( aCommandLine, aFlags );
return (process != NULL) ? true : false;
#endif
return wxExecute( aCommandLine, aFlags, callback );
}