[Mono-bugs] [Bug 632657] New: Environment.CommandLine doesn't contain quotes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 19 00:43:02 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=632657

https://bugzilla.novell.com/show_bug.cgi?id=632657#c0


           Summary: Environment.CommandLine doesn't contain quotes
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: x86
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jeroen at sumatra.nl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=383997)
 --> (http://bugzilla.novell.com/attachment.cgi?id=383997)
test.exe C# source

User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
Media Center PC 6.0; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E; InfoPath.3)

The string returned by Environment.CommandLine should have quotes around the
various args (if they have spaces in them).

Reproducible: Always

Steps to Reproduce:
mono test.exe "foo bar"
Actual Results:  
test.exe foo bar

Expected Results:  
test.exe "foo bar"

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list