Windows daemon mode workaround
This commit is contained in:
parent
cfa84cf81a
commit
aaa5e9d309
|
@ -349,6 +349,7 @@ class Main:
|
|||
shared.thisapp.lockPid = None # indicate we're the final child
|
||||
sys.stdout.flush()
|
||||
sys.stderr.flush()
|
||||
if not sys.platform.startswith('win'):
|
||||
si = file(os.devnull, 'r')
|
||||
so = file(os.devnull, 'a+')
|
||||
se = file(os.devnull, 'a+', 0)
|
||||
|
|
Reference in New Issue
Block a user