[Mono-bugs] [Bug 63430][Nor] Changed - Mono incorrectly handles file names containing blancs when using UseShellExecute = false in startup info of Process
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 30 Nov 2004 19:57:06 -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 gonzalo@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=63430
--- shadow/63430 2004-11-30 19:44:27.000000000 -0500
+++ shadow/63430.tmp.25017 2004-11-30 19:57:06.000000000 -0500
@@ -101,6 +101,24 @@
I can reproduce this on linux too.
------- Additional Comments From gonzalo@ximian.com 2004-11-30 19:44 -------
Created an attachment (id=13361)
Proposed patch
+
+------- Additional Comments From gonzalo@ximian.com 2004-11-30 19:57 -------
+This patch makes it work on linux:
+gonzalo@lalo:/tmp/kk/kk kkkk $ ls -l
+total 84
+-rwxr-xr-x 1 gonzalo gonzalo 79568 2004-11-30 18:53 ls
+-rwxr-xr-x 1 gonzalo gonzalo 3584 2004-11-30 18:52 t.exe
+gonzalo@lalo:/tmp/kk/kk kkkk $ mono t.exe ls
+Number of commandline arguments: 1
+filename specified: ls
+cmd: '/tmp/kk/kk kkkk/ls'
+dir: /tmp/kk/kk kkkk
+argv [0]: /tmp/kk/kk kkkk/ls
+ls t.exe
+
+It also works if i pass '/tmp/kk/kk kkkk/ls' as the command.
+BTW, next to this comment is the real patch. Forgot some other windows
+only details.