X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..5f6cfda79ff6d1ddc0b1b88c0ba9a69c4dd1f3f3:/wxPython/src/_process.i?ds=sidebyside diff --git a/wxPython/src/_process.i b/wxPython/src/_process.i index eb08b3f1ea..dffe60ec6f 100644 --- a/wxPython/src/_process.i +++ b/wxPython/src/_process.i @@ -89,7 +89,7 @@ public: 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); @@ -113,10 +113,10 @@ public: 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; }; @@ -159,6 +159,8 @@ enum }; +MustHaveApp(wxExecute); + long wxExecute(const wxString& command, int flags = wxEXEC_ASYNC, wxPyProcess *process = NULL);