Standalone disable crash message

I have a unity program that has to be enabled all the time, so when it crashes, it automatically has to restart.

I currently have a batch file that restarts the build executable when the taskmanager has no process by the name of the build. However, this does not work, because when the build crashes it displays a crash message, not removing the process out of the tasklist.

Is there a way to remove the crash log message or another way to check if the project is still running?

Unity does have the command line option to crash silently. Since you are running unity from batch file it should be simple to for you to add the command line argument:

-silent-crashes