mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 13:23:24 -07:00
Disable console window when running task scheduler
This commit is contained in:
parent
c319a4a5cc
commit
7f84353c69
1 changed files with 3 additions and 1 deletions
|
@ -302,7 +302,9 @@ def update():
|
||||||
|
|
||||||
elif plexpy.INSTALL_TYPE == 'windows':
|
elif plexpy.INSTALL_TYPE == 'windows':
|
||||||
logger.info('Calling Windows scheduled task to update Tautulli')
|
logger.info('Calling Windows scheduled task to update Tautulli')
|
||||||
subprocess.Popen(['SCHTASKS', '/Run', '/TN', 'TautulliUpdateTask'])
|
CREATE_NO_WINDOW = 0x08000000
|
||||||
|
subprocess.Popen(['SCHTASKS', '/Run', '/TN', 'TautulliUpdateTask'],
|
||||||
|
creationflags=CREATE_NO_WINDOW)
|
||||||
|
|
||||||
elif plexpy.INSTALL_TYPE == 'git':
|
elif plexpy.INSTALL_TYPE == 'git':
|
||||||
output, err = runGit('pull --ff-only {} {}'.format(plexpy.CONFIG.GIT_REMOTE,
|
output, err = runGit('pull --ff-only {} {}'.format(plexpy.CONFIG.GIT_REMOTE,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue