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:
charras
2008-04-25 07:33:45 +00:00
parent ba92f94fde
commit 6bd3fea110
9 changed files with 33 additions and 29 deletions
+5 -1
View File
@@ -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
}