summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deluge/ui/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/ui/client.py b/deluge/ui/client.py
index 4d923ca..ada16d4 100644
--- a/deluge/ui/client.py
+++ b/deluge/ui/client.py
@@ -579,7 +579,7 @@ class Client(object):
"""
try:
if deluge.common.windows_check():
- win32api.WinExec("deluged --port=%s --config=%s" % (port, config))
+ 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: