diff options
author | Chase Sterling <chase.sterling@gmail.com> | 2012-11-09 18:24:26 -0500 |
---|---|---|
committer | Chase Sterling <chase.sterling@gmail.com> | 2012-11-09 18:24:26 -0500 |
commit | db5a4f84f6a69747e841287db0c93ddd1c168747 (patch) | |
tree | 269bebb48589f67f10abb66724cdaf6c2eaf92fc /deluge/ui/client.py | |
parent | 4b75ec5b55d6165045c094f6e2e121831b59f928 (diff) | |
download | deluge-db5a4f84f6a69747e841287db0c93ddd1c168747.tar.gz deluge-db5a4f84f6a69747e841287db0c93ddd1c168747.tar.bz2 deluge-db5a4f84f6a69747e841287db0c93ddd1c168747.zip |
Fix daemon starting with config dir containing spaces on Windows.
Diffstat (limited to 'deluge/ui/client.py')
-rw-r--r-- | deluge/ui/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/ui/client.py b/deluge/ui/client.py index e8fab851e..3feba4c57 100644 --- a/deluge/ui/client.py +++ b/deluge/ui/client.py @@ -630,7 +630,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: |