mail-archives/mono-devel-list/2013-June/040502.html

96 строки
3.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE> [Mono-dev] sub-process invocation on posix
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-devel-list%40lists.ximian.com?Subject=Re%3A%20%5BMono-dev%5D%20sub-process%20invocation%20on%20posix&In-Reply-To=%3CCAC9RQtg3wSHrszktrvOstSq7n_vUq%2B-raSNGFWFToAoESVFLjg%40mail.gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<style type="text/css">
pre {
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
}
</style>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="040501.html">
<LINK REL="Next" HREF="040503.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-dev] sub-process invocation on posix</H1>
<B>Greg Young</B>
<A HREF="mailto:mono-devel-list%40lists.ximian.com?Subject=Re%3A%20%5BMono-dev%5D%20sub-process%20invocation%20on%20posix&In-Reply-To=%3CCAC9RQtg3wSHrszktrvOstSq7n_vUq%2B-raSNGFWFToAoESVFLjg%40mail.gmail.com%3E"
TITLE="[Mono-dev] sub-process invocation on posix">gregoryyoung1 at gmail.com
</A><BR>
<I>Thu Jun 6 18:55:16 UTC 2013</I>
<P><UL>
<LI>Previous message: <A HREF="040501.html">[Mono-dev] sub-process invocation on posix
</A></li>
<LI>Next message: <A HREF="040503.html">[Mono-dev] sub-process invocation on posix
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#40502">[ date ]</a>
<a href="thread.html#40502">[ thread ]</a>
<a href="subject.html#40502">[ subject ]</a>
<a href="author.html#40502">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>@&quot;My Holiday&quot;
On Thursday, June 6, 2013, Ian Norton wrote:
&gt;<i> Hiya, I'm aware that I can use Process.Start() but I'd really really like
</I>&gt;<i> to be able to directly pass a list of strings to my child process as
</I>&gt;<i> arguments rather than having to escape shell characters and spaces etc.
</I>&gt;<i>
</I>&gt;<i> Ie, In perl or C I'd do:
</I>&gt;<i>
</I>&gt;<i> system(&quot;df&quot;,&quot;-m&quot;,&quot;/home/foo/Documents/Pictures/My Holiday&quot;);
</I>&gt;<i>
</I>&gt;<i> Where in c# I'm forced to escape the space -&gt; &quot;My\ Holiday&quot;
</I>&gt;<i>
</I>&gt;<i> Ian
</I>&gt;<i>
</I>
--
Le doute n'est pas une condition agr&#233;able, mais la certitude est absurde.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;<A HREF="http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130606/13d7a070/attachment.html">http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130606/13d7a070/attachment.html</A>&gt;
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="040501.html">[Mono-dev] sub-process invocation on posix
</A></li>
<LI>Next message: <A HREF="040503.html">[Mono-dev] sub-process invocation on posix
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#40502">[ date ]</a>
<a href="thread.html#40502">[ thread ]</a>
<a href="subject.html#40502">[ subject ]</a>
<a href="author.html#40502">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list">More information about the Mono-devel-list
mailing list</a><br>
</body></html>