diff options
author | Dick Porter <dick@acm.org> | 2002-10-23 19:12:26 +0400 |
---|---|---|
committer | Dick Porter <dick@acm.org> | 2002-10-23 19:12:26 +0400 |
commit | 3207e426e4ab0a8bbdafca6d8e906b30c627253b (patch) | |
tree | d2cc0c22f4154da6b96bac245d545615664a86b8 /mcs/class/System/System.Diagnostics | |
parent | f1b03888d8ba296a6877cbe091c7305725b6a736 (diff) |
2002-10-23 Dick Porter <dick@ximian.com>
* Process.cs: Redirected standard input needs to have AutoFlush set
2002-10-23 Dick Porter <dick@ximian.com>
* FileStream.cs: Implemented CanSeek, and used it around all the
calls to MonoIO.Seek. Fixed buffering in Read() so that it
doesn't block forever on short reads.
* MonoFileType.cs: New enum for GetFileType
* MonoIO.cs: Added GetFileType
svn path=/trunk/mcs/; revision=8492
Diffstat (limited to 'mcs/class/System/System.Diagnostics')
-rw-r--r-- | mcs/class/System/System.Diagnostics/ChangeLog | 4 | ||||
-rwxr-xr-x | mcs/class/System/System.Diagnostics/Process.cs | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/mcs/class/System/System.Diagnostics/ChangeLog b/mcs/class/System/System.Diagnostics/ChangeLog index 26921d02f5a..89b7c236d99 100644 --- a/mcs/class/System/System.Diagnostics/ChangeLog +++ b/mcs/class/System/System.Diagnostics/ChangeLog @@ -1,3 +1,7 @@ +2002-10-23 Dick Porter <dick@ximian.com> + + * Process.cs: Redirected standard input needs to have AutoFlush set + 2002-09-27 Dick Porter <dick@ximian.com> * Process.cs: Implemented {get_,set_}{Min,Max}WorkingSet, diff --git a/mcs/class/System/System.Diagnostics/Process.cs b/mcs/class/System/System.Diagnostics/Process.cs index 81d11f30f0f..ae42d45a602 100755 --- a/mcs/class/System/System.Diagnostics/Process.cs +++ b/mcs/class/System/System.Diagnostics/Process.cs @@ -593,6 +593,7 @@ namespace System.Diagnostics { if(startInfo.RedirectStandardInput==true) { MonoIO.Close(stdin_rd); process.input_stream=new StreamWriter(new FileStream(stdin_wr, FileAccess.Write, true)); + process.input_stream.AutoFlush=true; } if(startInfo.RedirectStandardOutput==true) { |