[Mono-bugs] [Bug 655896] System.Diagnostics.Process discards escaped spaces in arguments

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jan 8 23:47:52 EST 2011



--- Comment #5 from Michael Hutchinson <mhutchinson at novell.com> 2011-01-09 04:47:51 UTC ---
Correction #2 (my echo clone was broken):
"foo\\ bar" turns into two arguments: "foo\" and "bar"

This pretty much means it's impossible to just escape arguments for .NET - they
must have " and \ escaped, then must be quoted with " ".

Which brings to clarification #2: in .NET it's possible to to combine multiple
quoted values in one argument:

"\"foo\",\"bar\"" turns into one argument: "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