[Mono-bugs] [Bug 71709][Nor] New - System.Diagnostics.Process can't start a mono process
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 24 Jan 2005 22:53:19 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by lluis@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=71709
--- shadow/71709 2005-01-24 22:53:19.000000000 -0500
+++ shadow/71709.tmp.23064 2005-01-24 22:53:19.000000000 -0500
@@ -0,0 +1,39 @@
+Bug#: 71709
+Product: Mono: Class Libraries
+Version: 1.1
+OS: NLD 9
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: lluis@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: System.Diagnostics.Process can't start a mono process
+
+I get a "System.ComponentModel.Win32Exception: Cannot find the specified
+file" error when running the following test case. It works for any other
+application.
+
+using System;
+using System.Diagnostics;
+
+public class Blaa
+{
+ public static void Main (string[] args)
+ {
+ Process p = new Process();
+
+ p.StartInfo.FileName = "mono";
+ p.StartInfo.UseShellExecute = false;
+ p.StartInfo.RedirectStandardOutput = true;
+ p.StartInfo.RedirectStandardError = true;
+ p.Start();
+ p.WaitForExit();
+ }
+}