[Mono-list] calling external program
Matt Kunze
kunzem@optimiz.com
Fri, 20 Dec 2002 13:46:05 -0700
This is a multi-part message in MIME format.
--------------060807070207020609070705
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Miguel de Icaza wrote:
> It seems like you wrote a couple of wrappers, could you mail those to us
> in `diff -u' format, and we will get them on CVS in no time.
>
> Miguel
this should work
--
.o0O0o.__.o0O0o.__.o0O0o.__.o0O0o.__.o0O0o.__.o0O0o.__.o0O0o.
| Matt Kunze Sometimes there's a point.|
| Build Master Fooly Fool This is not one of those |
| 970.484.0841 x 2205 times. |
=============================================================
--------------060807070207020609070705
Content-Type: text/plain;
name="Process.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="Process.diff"
Index: Process.cs
===================================================================
RCS file: /mono/mcs/class/System/System.Diagnostics/Process.cs,v
retrieving revision 1.10
diff -u -r1.10 Process.cs
--- Process.cs 31 Oct 2002 15:55:48 -0000 1.10
+++ Process.cs 20 Dec 2002 20:51:20 -0000
@@ -632,15 +632,13 @@
}
}
- [MonoTODO]
public static Process Start(string fileName) {
- throw new NotImplementedException();
+ return Start(new ProcessStartInfo(fileName));
}
- [MonoTODO]
public static Process Start(string fileName,
string arguments) {
- throw new NotImplementedException();
+ return Start(new ProcessStartInfo(fileName, arguments));
}
public override string ToString() {
--------------060807070207020609070705--