43 if (stream_stdout && stream_stderr)
48 while (! stream_stdout->Eof() )
56 while (! stream_stderr->Eof() )
virtual void OnTerminate(int pid, int status)
wxInputStream * GetInputStream() const
static bool IsAppShuttingDown()
long cbSyncExecute(const wxString &command, wxArrayString &output, wxArrayString &error)
wxInputStream * GetErrorStream() const
wxInputStream * stream_stdout
static void Yield()
Whenever you need to call wxYield(), call Manager::Yield(). It's safer.
wxInputStream * stream_stderr
size_t Add(const wxString &str, size_t copies=1)
cbExecuteProcess(wxArrayString *out, wxArrayString *err)
static wxKillError Kill(int pid, wxSignal sig=wxSIGTERM, int flags=wxKILL_NOCHILDREN)
long wxExecute(const wxString &command, int flags=wxEXEC_ASYNC, wxProcess *callback=NULL, const wxExecuteEnv *env=NULL)