Hey all. I'm writing a script where I need to be able to read the output from a windows command prompt, as well as send commands to that prompt. (cmd.exe)

I've tried stdio.dll which read it, but crashed when sending. Also tried mConsole.dll which I liked very much except that it also crashes mirc.exe when I try to use it. Are there other dlls or other ways of doing this?

Any help much appreciated, thanks!
- MrBugman