Implement graceful termination and group-based app tracking

This commit is contained in:
Cameron Gutman 2024-01-07 16:27:14 -06:00
commit 593e170da8
8 changed files with 262 additions and 10 deletions

View file

@ -550,6 +550,8 @@ Application List
- ``name`` - The name of the application/game
- ``output`` - The file where the output of the command is stored
- ``auto-detach`` - Specifies whether the app should be treated as detached if it exits quickly
- ``wait-all`` - Specifies whether to wait for all processes to terminate rather than just the initial process
- ``exit-timeout`` - Specifies how long to wait in seconds for the process to gracefully exit (default: 5 seconds)
- ``prep-cmd`` - A list of commands to be run before/after the application
- If any of the prep-commands fail, starting the application is aborted