Alternatives to Diagnostics.Process to run a simple shell command!
I need to run a simple application with c# is there anyway,开发者_StackOverflow中文版 and I mean anyway other than Diagnostics.Process to run a simple shell command?
No. Even if you use a class that does this for you, it will use System.Diagnostics.Process internally. You could use P/Invoke, but that is the OPPOSITE direction as far as simplicity. Using System.Diagnostics.Process is by far the easiest way to do this.
精彩评论