diff options
author | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2003-03-13 22:33:25 +0300 |
---|---|---|
committer | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2003-03-13 22:33:25 +0300 |
commit | f84c69c39355ed29b1ce3ff9c86ba63b7e0a5b69 (patch) | |
tree | 83678a5be6a4bf5042e0624160e9d0b8ba89e3d6 /mcs/class/System/System.Diagnostics | |
parent | 31e90cb37e8d98e0f0ab91b473cfc6c358ad8181 (diff) |
oops. did the commit in the wrong tree
svn path=/trunk/mcs/; revision=12478
Diffstat (limited to 'mcs/class/System/System.Diagnostics')
-rwxr-xr-x | mcs/class/System/System.Diagnostics/Process.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mcs/class/System/System.Diagnostics/Process.cs b/mcs/class/System/System.Diagnostics/Process.cs index d3cb2d4dd51..0601b033207 100755 --- a/mcs/class/System/System.Diagnostics/Process.cs +++ b/mcs/class/System/System.Diagnostics/Process.cs @@ -590,13 +590,13 @@ namespace System.Diagnostics { MonoIOError error; if (!ret) { - if (stdin_rd != IntPtr.Zero) + if (startInfo.RedirectStandardInput == true) MonoIO.Close (stdin_rd, out error); - if (stdout_wr != IntPtr.Zero) + if (startInfo.RedirectStandardOutput == true) MonoIO.Close (stdout_wr, out error); - if (stderr_wr != IntPtr.Zero) + if (startInfo.RedirectStandardError == true) MonoIO.Close (stderr_wr, out error); throw new Win32Exception (); |