[Mono-dev] sub-process invocation on posix
Ian Norton
inorton at gmail.com
Thu Jun 6 17:18:28 UTC 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130606/0eb00372/attachment.html>
More information about the Mono-devel-list
mailing list