mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-17 02:31:50 +02:00
FIXUP: use proc_stderr when needed
This commit is contained in:
parent
3b961e6b90
commit
f6a616f23b
1 changed files with 2 additions and 2 deletions
|
@ -125,7 +125,7 @@ class Container(IsolationProvider):
|
|||
with subprocess.Popen(
|
||||
[container_runtime, "image", "ls"],
|
||||
stdout=subprocess.DEVNULL,
|
||||
stderr=self.proc_stderr,
|
||||
stderr=subprocess.PIPE,
|
||||
startupinfo=get_subprocess_startupinfo(),
|
||||
) as p:
|
||||
_, stderr = p.communicate()
|
||||
|
@ -154,7 +154,7 @@ class Container(IsolationProvider):
|
|||
args,
|
||||
stdin=subprocess.PIPE,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
stderr=self.proc_stderr,
|
||||
startupinfo=startupinfo,
|
||||
# Start the conversion process in a new session, so that we can later on
|
||||
# kill the process group, without killing the controlling script.
|
||||
|
|
Loading…
Reference in a new issue