I have a C# console application (A). I want to execute other console app (B) from within app A (in synchronous manner) in such way that B uses the same command window. When
Fill out a System.Diagnostics.ProcessStartInfo and pass it to Process.Start
You can WaitForExit on the resulting process, and use then use ExitCode property of the process to see the return value.
WaitForExit
ExitCode