I have my gameServer.py script running remotely through PuTTy.
gameServer.py looks like this:
while True : (( listen for packets )) (( send all packets to all clients ))
WHEN I execute the script normally:
./gameServer.py
It works perfectly but the terminal is tied up. Naturally quitting PuTTy terminates my script.
I want to be able to close PuTTY and just have this script run perpetually so I tried:
./gameServer.py &
But that actually does not work and I don't understand why. First of all its not receiving or sending any packets when run in that &
mode, second of all it will go "+ Stopped" whenever I type enter or ANYTHING into the console.