[Mono-bugs] [Bug 58746][Nor] New - 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 04:47:44 -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:47:44.000000000 -0400
+++ shadow/58746.tmp.16878	2004-05-20 04:47:44.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 58746
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: equals sign is considered to be argument separator by Mono batch files
+
+Apparently its not possible to use an equals (=) sign in a command line 
+argument on Windows with the Mono batch files.
+
+When passing a -test=1 argument to test.exe on Windows
+
+eg. mono test.exe -test=1
+
+-test=1 will be considered as two separate command line arguments : -test 
+and 1 
+
+Steps to reproduce :
+
+- use Mono on Windows
+- save attached source to disk (named test.cs)
+- open command prompt to directory where you saved attached source
+- execute : mcs test.cs
+- execute : mono test.exe -test=1
+
+You'll get the following output :
+
+2 arguments.
+argument [0]: -test
+argument [1]: 1
+
+while in fact you should have gotten :
+
+1 arguments.
+argument [0]: -test=1