in solutions_builder/cli/cli_utils.py [0:0]
def exec_output(command, working_dir=".", stop_when_error=True):
"""Execute shell commands"""
output = subprocess.check_output(command,
cwd=working_dir,
shell=True,
text=True)
print(output)
return output