How to catch exe alarms from the command line

I do batch testing on our win32 C ++ programs. Some of them are falling. What is the best way to catch these glitches from the command line and report it?

thank

edit: answer:

1) you cannot catch another process exception from the command line

2) an example to do this directly in C #:

How to deal with a failure in a process started using System.Diagnostics.Process?

0
source share
4 answers

There is a way to catch exceptions and crashes from the command line: use ADPlus in emergency mode and it will sit in the background for unhandled exceptions.

. Win32: /- ?

+1

, script? , (, unix-like os 0 = success, all else = error).

EDIT:

0

, 1. exe . 2.

0

Source: https://habr.com/ru/post/1753599/


All Articles