Akkadius / spire

[Spire] A rich, portable server editing and development toolkit for EverQuest Emulator servers
https://github.com/Akkadius/spire
50 stars 12 forks source link

[Updater] Exit immediately when no terminal is present #114

Closed Akkadius closed 1 year ago

Akkadius commented 1 year ago

When a user updates Spire, normally the user is prompted to "Press any key to exit" and manually restart Spire.

Under the circumstances of automation, running Spire headlessly with orchestration tools, supervisors etc. we need Spire to simply restart after update silently only for the supervisor process to automatically spin up Spire after upgrading. Hanging while waiting for user input will just keep Spire hanging indefinitely after launching