Merge commit 'v3.0.0-alpha-302-ga145f317b'

This commit is contained in:
Test User 2020-09-23 15:59:18 +02:00
commit de02f7cad8
2 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit fa2885da8604c3ac46f64670393f04678dd1f45b
Subproject commit 3444f5334c1c6c05b781e0e25bbcb658d9ce7c5d

View File

@ -117,6 +117,7 @@ def execute(cmd,
initialPath = os.getcwd()
myEnv = os.environ if env is None else env
os.chdir(wd)
print(f"executing '{cmd}' in '{wd}'")
process = subprocess.Popen(shlex.split(cmd),
stdout = subprocess.PIPE,
stderr = subprocess.PIPE,
@ -128,7 +129,7 @@ def execute(cmd,
stdout = stdout.decode('utf-8').replace('\x08','')
stderr = stderr.decode('utf-8').replace('\x08','')
if process.returncode != 0:
raise RuntimeError(f'{cmd} failed with returncode {process.returncode}')
raise RuntimeError(f"'{cmd}' failed with returncode {process.returncode}")
return stdout, stderr