In my system, I have an application controlling starting and stopping my programs. This application will try different ways (platform dependent) to stop a started application. As last try, it uses TerminateProcess
on Windows. Unfortunately this does not work, the game will not exit.
The game is build for shipping with RunUAT.bat
using arguments -nop4 -utf8output -platform=Win64 -clientconfig=Shipping -serverconfig=Shipping -build -cook -stage -CrashReporter -noiterate -archive
If it is not possible to use TerminateProcess
, is there another way to stop a running game application from an external program?