How to find out if a process fails?
I am starting a bat script (that in turn starts a python script)with Process.Start() and want to find out if that process fails and if so what the error is.
1 Reply
Read from stderr/stdout
There are streams for that
But you have to make sure that the output is actually reaching the initial process
Tip: Avoid this chain (C# -> bat -> python) if you can