Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2003-03-13 22:33:25 +0300
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2003-03-13 22:33:25 +0300
commitf84c69c39355ed29b1ce3ff9c86ba63b7e0a5b69 (patch)
tree83678a5be6a4bf5042e0624160e9d0b8ba89e3d6 /mcs/class/System/System.Diagnostics
parent31e90cb37e8d98e0f0ab91b473cfc6c358ad8181 (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-xmcs/class/System/System.Diagnostics/Process.cs6
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 ();