[Mono-dev] sub-process invocation on posix

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


Nm read wrong.

On Thursday, June 6, 2013, Greg Young wrote:

> @"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.
>


-- 
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/5e614b2b/attachment.html>


More information about the Mono-devel-list mailing list