From 131504bb51400873ca775a359e122eae9a4baadb Mon Sep 17 00:00:00 2001 From: FSMPI Admin-Team <admin@fsmpi.rwth-aachen.de> Date: Sun, 10 Jul 2022 11:49:41 +0200 Subject: [PATCH] Use text=true in subprocess --- ext_scripts/ext_rbd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext_scripts/ext_rbd.py b/ext_scripts/ext_rbd.py index a54f96d..199c27d 100755 --- a/ext_scripts/ext_rbd.py +++ b/ext_scripts/ext_rbd.py @@ -66,7 +66,7 @@ PREFIX_USP = 'usp_' def cmd_open(cmd, bufsize=-1, env=None): inst = subprocess.Popen(cmd, shell=False, bufsize=bufsize, stdin=subprocess.PIPE, stdout=subprocess.PIPE, - stderr=subprocess.PIPE, close_fds=True) + stderr=subprocess.PIPE, close_fds=True, text=True) return inst -- GitLab