[Mono-bugs] [Bug 78054][Nor] Changed - problem with running
application by System.Diagnostics.Process in 1.1.14
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Apr 9 08:48:36 EDT 2006
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 robertj at gmx.net.
http://bugzilla.ximian.com/show_bug.cgi?id=78054
--- shadow/78054 2006-04-09 06:51:10.000000000 -0400
+++ shadow/78054.tmp.6597 2006-04-09 08:48:36.000000000 -0400
@@ -42,6 +42,22 @@
How often does this happen?
Everytime I try
------- Additional Comments From robertj at gmx.net 2006-04-09 06:51 -------
-> class libs
+
+------- Additional Comments From robertj at gmx.net 2006-04-09 08:48 -------
+In Mono 1.1.10 "UseShellExecute = true" used to start the
+shell with the command line taken from StartInfo.FileName.
+
+This behaviour has been changed because UseShellExecute
+means something different in Windows.
+
+Try
+
+.UseShellExecute = false
+.FileName = "/bin/bash"
+.Arguments = String.Format ("-c \"{0}\", "head -c 4 ...");
+
+Maybe you also have to escape the "" from your cmdline.
+
More information about the mono-bugs
mailing list