[Mono-dev] sub-process invocation on posix

Greg Young gregoryyoung1 at gmail.com
Thu Jun 6 18:55:16 UTC 2013


@"My Holiday"

On Thursday, June 6, 2013, Ian Norton wrote:

> Hiya, I'm aware that I can use Process.Start() but I'd really really like
> to be able to directly pass a list of strings to my child process as
> arguments rather than having to escape shell characters and spaces etc.
>
> Ie, In perl or C I'd do:
>
> system("df","-m","/home/foo/Documents/Pictures/My Holiday");
>
> Where in c# I'm forced to escape the space -> "My\ Holiday"
>
> Ian
>


-- 
Le doute n'est pas une condition agréable, mais la certitude est absurde.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130606/13d7a070/attachment.html>


More information about the Mono-devel-list mailing list