Run python in terminal and dont terminate it when terminal is closed -


i need make static website. connected via ssh local server, want make static website. used python make work:

$ python -m http.server 55550 

but if close terminal, python program terminated. want shut down computer, want let process running on local server, other people still access website.

how can this? after that, how should terminate process later?

thanks help

use nohup shell builtin:

nohup python -m http.server 55550 

to terminate process, kill using kill command, other process.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -