[Mono-list] Running System Processes or external executables

Lee Jenkins (DataTrakPOS) lee.jenkins at datatrakpos.com
Sat Jun 24 15:05:55 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