mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +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:
|
||||
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…
Add table
Reference in a new issue