mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Fix starting the daemon in OS X
This commit is contained in:
parent
d742f394f0
commit
4a22de279b
2 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue