mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +00:00
Fix daemon starting with config dir containing spaces on Windows.
This commit is contained in:
parent
b7ca968fae
commit
cd8ab2805c
1 changed files with 1 additions and 1 deletions
|
@ -579,7 +579,7 @@ class Client(object):
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
if deluge.common.windows_check():
|
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():
|
elif deluge.common.osx_check():
|
||||||
subprocess.call(["nohup", "deluged", "--port=%s" % port, "--config=%s" % config])
|
subprocess.call(["nohup", "deluged", "--port=%s" % port, "--config=%s" % config])
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue