Two process are used to keep each other alive. You can use this project to keep the main project alive. (双进程保活,使用子进程唤醒被杀掉的主进程)
Operating steps are shown below:
xudajun/ProcessKeep
Two process are used to keep each other alive. You can use this project. (使用双进程守护来实现进程保活)
Java