mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Fix starting the daemon in OS X
This commit is contained in:
parent
7fb5e546e8
commit
9daf288da1
1 changed files with 2 additions and 0 deletions
|
@ -527,6 +527,8 @@ class Client(object):
|
||||||
try:
|
try:
|
||||||
if deluge.common.windows_check():
|
if deluge.common.windows_check():
|
||||||
win32api.WinExec("deluged --port=%s --config=%s" % (port, config))
|
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:
|
else:
|
||||||
subprocess.call(["deluged", "--port=%s" % port, "--config=%s" % config])
|
subprocess.call(["deluged", "--port=%s" % port, "--config=%s" % config])
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue