mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 19:20:19 +01:00
Do not hardcode path to bash (#332)
This commit is contained in:
@@ -66,8 +66,8 @@ def open_dashboard(experiment_path):
|
||||
dashboard_path = 'python {}/dashboard.py'.format(get_base_dir())
|
||||
cmd = "{} --experiment_dir {}".format(dashboard_path, experiment_path)
|
||||
screen.log_title("Opening dashboard - experiment path: {}".format(experiment_path))
|
||||
# subprocess.Popen(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, shell=True, executable="/bin/bash")
|
||||
subprocess.Popen(cmd, shell=True, executable="/bin/bash")
|
||||
# subprocess.Popen(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, shell=True, executable="bash")
|
||||
subprocess.Popen(cmd, shell=True, executable="bash")
|
||||
|
||||
|
||||
def start_graph(graph_manager: 'GraphManager', task_parameters: 'TaskParameters'):
|
||||
|
||||
@@ -42,7 +42,7 @@ class EKSHandler():
|
||||
container = client.V1Container(
|
||||
name=self.test_name,
|
||||
image=self.image,
|
||||
command=['/bin/bash', '-c'],
|
||||
command=['bash', '-c'],
|
||||
args=[self.test_command],
|
||||
image_pull_policy='Always',
|
||||
working_dir=self.working_dir,
|
||||
|
||||
@@ -139,7 +139,7 @@ def ClassToDict(x):
|
||||
|
||||
|
||||
def cmd_line_run(result, run_cmd, id=-1):
|
||||
p = Popen(run_cmd, shell=True, executable="/bin/bash")
|
||||
p = Popen(run_cmd, shell=True, executable="bash")
|
||||
while result[0] is None or result[0] == [None]:
|
||||
if id in killed_processes:
|
||||
p.kill()
|
||||
|
||||
Reference in New Issue
Block a user