Fix starting the daemon in OS X
This commit is contained in:
parent
7fb5e546e8
commit
9daf288da1
@ -527,6 +527,8 @@ class Client(object):
|
||||
try:
|
||||
if deluge.common.windows_check():
|
||||
win32api.WinExec("deluged --port=%s --config=%s" % (port, config))
|
||||
elif deluge.common.osx_check():
|
||||
subprocess.call(["nohup", "deluged", "--port=%s" % port, "--config=%s" % config])
|
||||
else:
|
||||
subprocess.call(["deluged", "--port=%s" % port, "--config=%s" % config])
|
||||
except Exception, e:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user