diff --git a/test/spack_commands.py b/test/spack_commands.py index cf4da8ffc7..52ae675ba3 100644 --- a/test/spack_commands.py +++ b/test/spack_commands.py @@ -51,7 +51,7 @@ def run_with_spack(command: str, log: Path) -> None: # 'deactivate' deactivates the python virtual environment. # '2>&1' redirects stderr to stdout. ret = subprocess.run( - f'deactivate; {command} >> {log} 2>&1', + f'{command} >> {log} 2>&1', check=False, shell=True, )