redirected subprocess.Popen streams to system stdout and stderr

This commit is contained in:
K4YT3X
2020-12-13 16:53:55 -05:00
parent f4be9cc596
commit eee43def3b
8 changed files with 15 additions and 8 deletions

View File

@@ -12,6 +12,7 @@ Description: High-level wrapper for Gifski.
# built-in imports
import pathlib
import subprocess
import sys
# third-party imports
from avalon_framework import Avalon
@@ -71,4 +72,4 @@ class Gifski:
Avalon.debug_info(f'Executing: {execute}')
return subprocess.Popen(execute)
return subprocess.Popen(execute, stdout=sys.stdout, stderr=sys.stderr)