mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Fix daemon starting with config dir containing spaces on Windows.
This commit is contained in:
parent
4b75ec5b55
commit
db5a4f84f6
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue