[Mono-list] Running System processes from within mono

Lee lee at datatrakpos.com
Sat Jun 24 15:06:33 EDT 2006


Can someone provide a sample of calling an external application from within
a C# app?

I've tried a vew simple things like:

System.Diagnostics.Process.Start("shutdown -r now");

I have also tried placing escapted quotes around the command such as this:

System.Diagnostics.Process.Start(""\shutdown -r now"\");

Either way, I get "Can't find specified file".

Thank you,

Lee



More information about the Mono-list mailing list