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:
@@ -123,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();
|
||||
|
||||
@@ -167,7 +170,9 @@ public:
|
||||
|
||||
/**
|
||||
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().
|
||||
*/
|
||||
|
Reference in New Issue
Block a user