static wxPyProcess *Open(const wxString& cmd, int flags = wxEXEC_ASYNC);
- %addtofunc wxPyProcess "self._setCallbackInfo(self, Process)"
+ %pythonAppend wxPyProcess "self._setCallbackInfo(self, Process)"
wxPyProcess(wxEvtHandler *parent = NULL, int id = -1);
void _setCallbackInfo(PyObject* self, PyObject* _class);
void CloseOutput();
- // return TRUE if the child process stdout is not closed
+ // return True if the child process stdout is not closed
bool IsInputOpened() const;
- // return TRUE if any input is available on the child process stdout/err
+ // return True if any input is available on the child process stdout/err
bool IsInputAvailable() const;
bool IsErrorAvailable() const;
};
};
+MustHaveApp(wxExecute);
+
long wxExecute(const wxString& command,
int flags = wxEXEC_ASYNC,
wxPyProcess *process = NULL);