I want to make a key command so that the program will stop running when the Ctrl key then the 'e' key then the 'x' key then the 'i' and 't' keys are hit. So basically when the program is running if you type Ctrl + exit, the program will stop running. There is no GUI and I don't want to do this via a python interpreter.
The end goal is a program that will close if the Ctrl + exit command is typed, regardless of what other programs are in focus. This program is going to be a light weight key-logger, so having a GUI would be pointless.