Return success/failure on exit?

Does anyone know if HWRM returns an exit code when it quits or crashes? I wrote a script that makes the game exit/restart repeatedly, but I need to be able to differentiate between intentional exits and CTDs.

Thanks.

I think you can find if it’s a CTD by looking for those “7-9-2016_21_43_28_ErrorLog.txt” files in Bin\Release\

HWRM errorlevel is always zero it seems.

I would need to know the correct time and date stamp, and would need a third software to parse the file I think.

Could you add a print statement just before your exit code? If the printed statement is missing from the log, you know it is a CTD.

I suppose I could check for some variable meant for this purpose. I just don’t know batch files well enough to do something with it.

It’s not a big deal really. I’ve kind of given up already. And I don’t need it that badly.