Keeping a Python Script alive after leaving SSH Client?

view story

http://serverfault.com – I have a while loop in my Python Script and its independent script so I can't run it as a daemon. Also I have tryed using nohup, but I'm having this error: root@ubuntu:~/Desktop/starthere-group-ok# nohup python yApp.py & [1] 3038 root@ubuntu:~/Desktop/starthere-group-ok# nohup: ignoring input and appending output to `nohup.out' The nohup.out: 1) Deployment 2) Service Status 3) List Servers 4) Restart Service 5) Restart Server 6) Execute Commands on Servers Seçiminizi yapın: Traceback (most recent call last): File "yApp.py", line 13, in <module> selection = raw_input("Seç (HowTos)