mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Use Popen to restart on macOS
This commit is contained in:
parent
dbd2d28877
commit
2625ef5fb9
1 changed files with 1 additions and 1 deletions
|
@ -2233,7 +2233,7 @@ def shutdown(restart=False, update=False, checkout=False, reset=False):
|
|||
# https://bugs.python.org/issue19066
|
||||
if NOFORK:
|
||||
pass
|
||||
elif common.PLATFORM == 'Windows':
|
||||
elif common.PLATFORM in ('Windows', 'Darwin'):
|
||||
subprocess.Popen(args, cwd=os.getcwd())
|
||||
else:
|
||||
os.execv(exe, args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue