Running a program in another one?

Posted by Roman on Stack Overflow See other posts from Stack Overflow or by Roman
Published on 2010-03-26T15:53:09Z Indexed on 2010/03/26 16:03 UTC
Read the original article Hit count: 310

Filed under:
|

Hi,

I've written a program in C++. It's just using the console to have it as portable as possible. Unfortunately, many Windows-Users seem not to understand how to use the program (Linux Users are just fine with it :) ). So I'd like to write a GUI for that program. As this needs to run on Windows only, I'd like to write it in C#.

But I want to maintain the GUI apart from the original program. So basically, I need a way to include a compiled *.exe into another program. Is there a way to catch the console output from another program and send inputs to it? Also, can the console of the original program be hidden?

Similar Questions

How To: Execute command line in C#, get STD OUT results

© Stack Overflow or respective owner

Related posts about c#

Related posts about hidden