From 5317f8927256dd553bd29120f3d2bdecbeecab21 Mon Sep 17 00:00:00 2001 From: jbevain Date: Wed, 22 Jul 2009 14:19:51 +0000 Subject: [PATCH] 2009-07-22 Jb Evain * ProcessStartInfo.cs: force no-verb on MONOTOUCH. git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@138407 e3ebcda4-bce8-0310-ba0a-eca2169e7518 --- class/System/System.Diagnostics/ChangeLog | 4 ++++ class/System/System.Diagnostics/ProcessStartInfo.cs | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/class/System/System.Diagnostics/ChangeLog b/class/System/System.Diagnostics/ChangeLog index ec1b366bb9..b4f7b8ee04 100644 --- a/class/System/System.Diagnostics/ChangeLog +++ b/class/System/System.Diagnostics/ChangeLog @@ -1,3 +1,7 @@ +2009-07-22 Jb Evain + + * ProcessStartInfo.cs: force no-verb on MONOTOUCH. + 2009-07-10 Gonzalo Paniagua Javier * ProcessStartInfo.cs: HaveEnvVars is enabled by just using the diff --git a/class/System/System.Diagnostics/ProcessStartInfo.cs b/class/System/System.Diagnostics/ProcessStartInfo.cs index 1d7e4fe63a..41936f479e 100644 --- a/class/System/System.Diagnostics/ProcessStartInfo.cs +++ b/class/System/System.Diagnostics/ProcessStartInfo.cs @@ -267,6 +267,10 @@ namespace System.Diagnostics if (ext == null) return empty; +#if MONOTOUCH + return empty; +#else + switch (Environment.OSVersion.Platform) { case (PlatformID)4: case (PlatformID)6: @@ -289,6 +293,7 @@ namespace System.Diagnostics rk.Close (); } } +#endif } } -- 2.11.4.GIT