Skip to content

Commit 0e25a68

Browse files
add text flag to return stdout and stderr as string;
1 parent 3e29bd4 commit 0e25a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def _run_command(self, command, defaults_url=None, apps_url=None):
288288
self.logger.info(f"os.system attempt - {command}")
289289
os.system(command)
290290
self.logger.info("execute command vis subprocess;")
291-
proc = subprocess.Popen(sh, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env)
291+
proc = subprocess.Popen(sh, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env, text=True)
292292
self.logger.info("PROC created")
293293
lines = []
294294
err_lines = []

0 commit comments

Comments
 (0)