mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 08:28:39 +00:00
dont fork on win
This commit is contained in:
parent
59a7d8b947
commit
0469f4b2d2
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ def start_daemon():
|
||||||
(options, args) = parser.parse_args()
|
(options, args) = parser.parse_args()
|
||||||
|
|
||||||
# If the donot daemonize is set, then we just skip the forking
|
# If the donot daemonize is set, then we just skip the forking
|
||||||
if not options.donot:
|
if not options.donot and not deluge.common.windows_check():
|
||||||
if os.fork() == 0:
|
if os.fork() == 0:
|
||||||
os.setsid()
|
os.setsid()
|
||||||
if os.fork() == 0:
|
if os.fork() == 0:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue