qemu-trace2txt: port to clifunction

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-01-22 00:00:00 +00:00
parent 040d37c766
commit 27868f942c
2 changed files with 23 additions and 18 deletions

View File

@@ -169,6 +169,9 @@ class ShellHelpers:
:param extra_env: extra environment variables to add when running the command
:type extra_env: Dict[str,str]
:return: exit status of the command
:rtype: int
'''
if out_file is not None:
stdout = subprocess.PIPE