[Mono-list] calling external program

Matt Kunze kunzem@optimiz.com
Fri, 20 Dec 2002 09:33:45 -0700

Gonzalo Paniagua Javier wrote:
> El jue, 19-12-2002 a las 19:26, Jamin Philip Gray escribió:
>>I noticed that System.Diagnostics.Process.Start() has not yet been
>>implemented.  Is there another way to call an external program from
>>within a C# program?
> Process.Start is implemented.
> -Gonzalo

two overridden versions are not implemented:

Process.Start(string filename)
Process.Start(string filename, string arguments)

Process.Start(ProcessStartInfo info) works though

Is there any reason the unimplemented functions aren't simply:

public static Process.Start(string filename)
    return Process.Start(new ProcessStartInfo(filename);

public static Process.Start(string filename, string arguments)
    return Process.Start(new ProcessStartInfo(filename, arguments);

it certainly would reduce confusion that those variants are unimplmented 
yet others are

| Matt Kunze                      Sometimes there's a point.|
| Build Master Fooly Fool         This is not one of those  |
| 970.484.0841 x 2205             times.                    |