I need to write a component for an application that interacts tightly with a command line application. The command line application asks a series of questions, performs some
You would need to redirect both the input and output streams, using Process; it is slightly trickier handling both, since you need to be careful that things aren't lost in the buffers (causing deadlock).
You might also want to look at OutputDataReceived for event-based responses.