[Mono-bugs] [Bug 655896] New: System.Diagnostics.Process discards escaped spaces in arguments
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Nov 24 21:15:29 EST 2010
https://bugzilla.novell.com/show_bug.cgi?id=655896
https://bugzilla.novell.com/show_bug.cgi?id=655896#c0
Summary: System.Diagnostics.Process discards escaped spaces in
arguments
Classification: Mono
Product: Mono: Class Libraries
Version: 2.8.x
Platform: x86
OS/Version: Mac OS X 10.6
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: mhutchinson at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
System.Diagnostics.Process discards escaped spaces in arguments. For example:
System.Diagnostics.Process.Start ("echo", "foo\\ bar");
outputs:
foobar
but bash (and AFAIR older versions of Mono) output:
foo bar
Every other char I tired to escaped worked fine: " ' \ ( )
In addition, quotes are handled strangely:
System.Diagnostics.Process.Start ("echo", "\"foo\",\"bar\"");
outputs:
foo ,bar
but bash (and AFAIR older versions of Mono) output:
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