wxProcess::open does not work under windows (the process stays in background mode), wxExecute is still used under windows
Minor other changes
This commit is contained in:
+5
-1
@@ -246,9 +246,13 @@ void* MyMalloc( size_t nb_octets )
|
||||
|
||||
bool ProcessExecute( const wxString& aCommandLine, int aFlags )
|
||||
{
|
||||
#ifdef __WINDOWS__
|
||||
wxExecute(aCommandLine);
|
||||
return true;
|
||||
#else
|
||||
wxProcess* process = wxProcess::Open( aCommandLine, aFlags );
|
||||
|
||||
return process != NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user