mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
Fixes hang after a auto-update is performed
This commit is contained in:
parent
675a6b09f0
commit
95147cf7ec
1 changed files with 2 additions and 1 deletions
|
@ -223,6 +223,7 @@ def restart():
|
|||
popen_list += SYS_ARGV
|
||||
logger.log(u"Restarting nzbToMedia with " + str(popen_list))
|
||||
logger.close()
|
||||
subprocess.Popen(popen_list, cwd=os.getcwd(), shell=True)
|
||||
p = subprocess.Popen(popen_list, cwd=os.getcwd())
|
||||
p.wait()
|
||||
|
||||
os._exit(0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue