Lazy commit on bender.
This commit is contained in:
parent
672fd2190a
commit
bb0313bebc
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user