Add patch from Jacobo Aragunde Perez <Log of opened and closed applications in KiCad launcher>
This commit is contained in:
committed by
jean-pierre charras
parent
07273ac439
commit
295b5b5dea
+2
-8
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user