Run a batch of CLI commands

edit - this is a duplicate from here

I would like to create a gui wrapper (in C#) to an existing CLI application (I only have the binaries of this CLI application). in order to do that I need to run the CLI application, and then parse its output, give more commands (witch depends on the output) and so on.

I know that I can use System.Diagnostics.Process.Start(...) to run a single command. but is there any way to communicate with that thread? or is there any other way to do this in C#?

Upvotes: 0

Views: 1368

Answers (0)

Related Questions