So I'm trying to daemonize a python script , I've got the following already
i'm not sure how to handle closing and then reopening stdin,stdout,st derr, or if its even needed in python
Code:
if os.fork(): sys.exit()
Comment