2

I need to run a simple application with c# is there anyway, and I mean anyway other than Diagnostics.Process to run a simple shell command?

1
  • What's wrong with Process.Start? Nov 9, 2010 at 17:51

1 Answer 1

4

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.