EBAG
EBAG

Reputation: 22591

Alternatives to Diagnostics.Process to run a simple shell command!

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?

Upvotes: 2

Views: 201

Answers (1)

David
David

Reputation: 73584

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.

Upvotes: 4

Related Questions