Document that wxProcess::GetOutputStream() can't be used after CloseOutput().

As closing the output stream makes it unusable, it is destroyed as well and so
GetOutputStream() returns NULL after calling CloseOutput().

Closes #12605.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-10-23 14:09:21 +00:00
parent e3d358bbe4
commit 1bcde56c8d

View File

@@ -123,6 +123,9 @@ public:
This function can be used to indicate to the child process that 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 there is no more data to be read - usually, a filter program will only
terminate when the input stream is closed. terminate when the input stream is closed.
Notice that GetOutputStream() will return @NULL after the output stream
is closed.
*/ */
void CloseOutput(); void CloseOutput();
@@ -167,7 +170,9 @@ public:
/** /**
It returns an output stream correspoding to the input stream of the subprocess. It returns an output stream correspoding to the input stream of the subprocess.
If it is @NULL, you have not turned on the redirection.
If it is @NULL, you have not turned on the redirection or already
called CloseOutput().
@see Redirect(). @see Redirect().
*/ */