X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca5016d4ddae7f9a2d72a16326e9339f8d3e8748..ea11bf3abcec34e31b9919a2e222e61f82643830:/interface/wx/process.h diff --git a/interface/wx/process.h b/interface/wx/process.h index 4a5585f81a..7d62189291 100644 --- a/interface/wx/process.h +++ b/interface/wx/process.h @@ -3,7 +3,7 @@ // Purpose: interface of wxProcess // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -75,6 +75,11 @@ enum wxKillError @library{wxbase} @category{appmanagement} + @beginWxPerlOnly + In wxPerl this class has an additional @c Destroy method, + for explicit destruction. + @endWxPerlOnly + @see wxExecute(), @ref page_samples_exec */ class wxProcess : public wxEvtHandler @@ -118,6 +123,9 @@ public: This function can be used to indicate to the child process that there is no more data to be read - usually, a filter program will only terminate when the input stream is closed. + + Notice that GetOutputStream() will return @NULL after the output stream + is closed. */ void CloseOutput(); @@ -161,8 +169,10 @@ public: wxInputStream* GetInputStream() const; /** - It returns an output stream correspoding to the input stream of the subprocess. - If it is @NULL, you have not turned on the redirection. + It returns an output stream corresponding to the input stream of the subprocess. + + If it is @NULL, you have not turned on the redirection or already + called CloseOutput(). @see Redirect(). */