added and documented (and using in the sample) wxProcess::CloseOutput()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-05-26 15:18:07 +00:00
parent bbc7adbd09
commit 5fff5f8a27
4 changed files with 105 additions and 10 deletions

View File

@@ -81,6 +81,9 @@ public:
wxInputStream *GetErrorStream() const { return m_errorStream; }
wxOutputStream *GetOutputStream() const { return m_outputStream; }
// close the output stream indicating that nothing more will be written
void CloseOutput() { delete m_outputStream; m_outputStream = NULL; }
// implementation only (for wxExecute)
void SetPipeStreams(wxInputStream *inStream,
wxOutputStream *outStream,