0

I use Amazon EC2. I connect by SSH and run python script. If I exit, will it continues working?
How can I run Python script, close SSH session and he's been working on?

user1747389
  • 31
  • 1
  • 6
  • can you provide some more details on code..u need to run python script after exiting from ssh session right??? – abhi May 30 '13 at 05:44
  • I connect by SSH and run python script (python example.py). Script are working. I want to script will be working after my closing session. – user1747389 May 30 '13 at 06:11

1 Answers1

1

before your script use nohup command (nohup python example.py).the output will be stored in nohup.out in ur execution folder.

abhi
  • 368
  • 1
  • 4
  • 14