revert fork for now

This commit is contained in:
Marcos Pinto 2008-09-28 03:15:59 +00:00
parent 20fe87868f
commit 8d7e762b0a

View File

@ -33,17 +33,6 @@
class WebUI:
def __init__(self, args):
import os
import sys
import deluge_webserver
if os.fork() == 0:
os.setsid()
if os.fork() == 0:
sys.stderr = sys.stdout
sys.stdin = None
else:
os._exit(0)
else:
os._exit(0)
deluge_webserver.run(debug = False)