[Mono-bugs] [Bug 58746][Nor] Changed - equals sign is considered to be argument separator by Mono batch files

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 20 May 2004 23:05:13 -0400 (EDT)


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 gert.driesen@pandora.be.

http://bugzilla.ximian.com/show_bug.cgi?id=58746

--- shadow/58746	2004-05-20 04:50:10.000000000 -0400
+++ shadow/58746.tmp.27229	2004-05-20 23:05:13.000000000 -0400
@@ -52,6 +52,29 @@
 
 ------- Additional Comments From gert.driesen@pandora.be  2004-05-20 04:50 -------
 Gonzalo, I hope its ok to assign this bug to you? 
 
 Sorry about the product/component categories, but I wasn't sure which 
 one to choose ...
+
+------- Additional Comments From gert.driesen@pandora.be  2004-05-20 23:05 -------
+Just to make sure there are no misunderstandings : this issue is 
+caused by the way command line parameters are passed from the mono 
+batch files to the actual application: 
+
+@ECHO OFF
+SET MONOARGS=
+:loop
+IF x%1 == x goto :done
+SET MONOARGS=%MONOARGS% %1
+SHIFT
+GOTO loop
+:done
+SETLOCAL
+SET PATH=C:\Program Files\Mono-0.91.99\bin;%PATH%
+SET MONO_PATH=C:\Program Files\Mono-0.91.99\lib
+SET MONO_CFG_DIR=C:\Program Files\Mono-0.91.99\etc
+"C:\Program Files\Mono-0.91.99\lib\mono.exe" %MONOARGS%
+ENDLOCAL
+
+Apparently the loop to store the command line parameters in the 
+MONOARGS env var does not handle equal signs well