Proposal: Add showCommandForUser to process:System.Process

Simon Marlow marlowsd at gmail.com
Wed Sep 15 10:53:11 EDT 2010


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


More information about the Libraries mailing list