3 ms·
you should read https://rachelbythebay.com/w/2014/08/19/fork/ https://rachelbythebay.com/w/2014/08/19/fork/ to take care of https://github.com/SalmaanP/news_bac
by JayeshSidhwani 10y ago
you should read https://rachelbythebay.com/w/2014/08/19/fork/ https://rachelbythebay.com/w/2014/08/19/fork/ to take care of https://github.com/SalmaanP/news_backend/blob/master/daemon.py#L25 https://github.com/SalmaanP/news_backend/blob/master/daemon....
- djsumdog 10y agoWoah! I did not know that about killing PID -1. That is not behaviour I'd expect. This developer uses Python though, which seems like it does the correct thing in raising an error instead of just returning a -1. I'd have to look through the Python code to be sure through: https://docs.python.org/3.5/library/os.html#os.fork https://docs.python.org/3.5/library/os.html#os.fork