I have a program where I was able to successfully execute cmd commands from my code, but I want to be able to get the output from the cmd command. How can I do that?
look here: Extracting a process's exit code in the case of ThreadInterrupted
You need to get the return code... you must wait for it.