C
C#3y ago
RP-1 MVac

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
qqdev
qqdev3y ago
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
Want results from more Discord servers?
Add your server