| 13 | #include "InputHelpers.h" |
| 14 | |
| 15 | static void terminateHandler(int signo) |
| 16 | { |
| 17 | if (signo != SIGTERM && signo != SIGINT) |
| 18 | { |
| 19 | std::fprintf(stderr, "Caught unexpected signal %d\n", signo); |
| 20 | return; |
| 21 | } |
| 22 | |
| 23 | WriteToConsole("QUIT"); |
| 24 | } |
| 25 | |
| 26 | static const int initialize = [] { |
| 27 | std::string appRootDir{}; |
nothing calls this directly
no test coverage detected