Lazy commit on bender.

This commit is contained in:
James Downie 2025-08-15 08:39:16 +10:00
parent 672fd2190a
commit bb0313bebc

View File

@ -98,7 +98,7 @@ def parse_yaml(file_path):
return None
def execute_command(command, cwd = None, dump_error = True):
command = f"/bin/bash -c '{command}'"
command = f"/usr/bin/env bash -c '{command}'"
try:
if cwd != None:
result = subprocess.run(command, cwd=cwd, shell=True, check=True, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)