Fix starting the daemon in OS X

This commit is contained in:
Andrew Resch 2009-04-14 20:40:29 +00:00
parent d742f394f0
commit 4a22de279b
2 changed files with 4 additions and 0 deletions

View file

@ -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 ====

View file

@ -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()])