Fixining inconsistent independent thread app start persistence

This commit is contained in:
itdominator 2021-12-21 22:29:55 -06:00
parent 3e1966c17d
commit 3c636b3da8
1 changed files with 3 additions and 2 deletions

View File

@ -43,8 +43,9 @@ class Launcher:
if use_os_system:
os.system(command)
else:
DEVNULL = open(os.devnull, 'w')
subprocess.Popen(command, cwd=start_dir, shell=use_shell, start_new_session=True, stdout=DEVNULL, stderr=DEVNULL, close_fds=True)
# DEVNULL = open(os.devnull, 'w')
# subprocess.Popen(command, cwd=start_dir, shell=use_shell, start_new_session=True, stdout=DEVNULL, stderr=DEVNULL, close_fds=True)
subprocess.Popen(command, cwd=start_dir, shell=use_shell, start_new_session=True, stdout=None, stderr=None, close_fds=True)
def remux_video(self, hash, file):