
15 Sep
2010
15 Sep
'10
10:53 a.m.
On 15/09/2010 03:45, Edward Z. Yang wrote:
+1 for the general principal.
I'm a little ambivalent about changing quoting rules depending on the operating system: the operating system does not necessitate a particular shell. A more general API might be to support a variety of quoting styles, but that might be a smidge overkill.
The System.Cmd API is already OS-dependent in this sense: System.Cmd.system passes the string to /bin/sh on POSIX and cmd.exe on Windows, so Ian's proposal is consistent with that behaviour. Cheers, Simon