Browse Source

2009-07-22 Jb Evain <[email protected]>

	* ProcessStartInfo.cs: force no-verb on MONOTOUCH.


svn path=/trunk/mcs/; revision=138407
Jb Evain 16 years ago
parent
commit
44d5cd6772

+ 4 - 0
mcs/class/System/System.Diagnostics/ChangeLog

@@ -1,3 +1,7 @@
+2009-07-22  Jb Evain  <[email protected]>
+
+	* ProcessStartInfo.cs: force no-verb on MONOTOUCH.
+
 2009-07-10 Gonzalo Paniagua Javier <[email protected]>
 
 	* ProcessStartInfo.cs: HaveEnvVars is enabled by just using the

+ 5 - 0
mcs/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
 			}
 		}