From 9daf288da1359a4fb3404a31c61e774a350d6dd3 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Tue, 14 Apr 2009 20:40:29 +0000 Subject: [PATCH] Fix starting the daemon in OS X --- deluge/ui/client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/ui/client.py b/deluge/ui/client.py index 9dad32c8a..faae2701f 100644 --- a/deluge/ui/client.py +++ b/deluge/ui/client.py @@ -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: