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
Post a Comment