mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-13 08:33:50 -07:00
_
This commit is contained in:
parent
55162d6e6c
commit
f55a65c304
1 changed files with 1 additions and 0 deletions
|
@ -366,6 +366,7 @@ class InteractBase(object):
|
||||||
|
|
||||||
outnull_file = open(os.devnull, 'w')
|
outnull_file = open(os.devnull, 'w')
|
||||||
os.dup2 ( outnull_file.fileno(), sys.stderr.fileno() )
|
os.dup2 ( outnull_file.fileno(), sys.stderr.fileno() )
|
||||||
|
os.dup2 ( outnull_file.fileno(), sys.stdout.fileno() )
|
||||||
sys.stderr = outnull_file
|
sys.stderr = outnull_file
|
||||||
sys.stdout = outnull_file
|
sys.stdout = outnull_file
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue