Fix starting the daemon in OS X
This commit is contained in:
parent
d742f394f0
commit
4a22de279b
@ -3,6 +3,7 @@
|
||||
* Fix #883 segfault if locale is not using UTF-8 encoding
|
||||
* Fix for adding torrents with invalid filename encodings
|
||||
* Fix displaying IPv6 peers in the Peers tab
|
||||
* Fix starting the daemon in OS X
|
||||
|
||||
=== Deluge 1.1.6 - (06 April 2009) ===
|
||||
==== Core ====
|
||||
|
||||
@ -491,6 +491,9 @@ class ConnectionManager(component.Component):
|
||||
# Spawn a local daemon
|
||||
if deluge.common.windows_check():
|
||||
win32api.WinExec("deluged -p %s" % port)
|
||||
elif deluge.common.osx_check():
|
||||
subprocess.call(["nohup", "deluged", "--port=%s" % port,
|
||||
"--config=%s" % deluge.configmanager.get_config_dir()])
|
||||
else:
|
||||
subprocess.call(["deluged", "--port=%s" % port,
|
||||
"--config=%s" % deluge.configmanager.get_config_dir()])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user