File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,25 +4,22 @@ set -eu
44
55bin_dir=" $( CDPATH= cd -- " $( dirname -- " $0 " ) " && pwd) "
66agentctl=" $bin_dir /turtle-agentctl"
7- if [ ! -x " $agentctl " ]; then
8- agentctl=" turtle-agentctl"
9- fi
107
118cmd=" ${1:- surfaces} "
129case " $cmd " in
1310 surfaces)
1411 shift || true
15- exec " $agentctl " --stdio cloudfog-surfaces " $@ "
12+ exec python3 " $agentctl " --stdio cloudfog-surfaces " $@ "
1613 ;;
1714 inspect)
1815 shift || true
19- exec " $agentctl " --stdio cloudfog-inspect " $@ "
16+ exec python3 " $agentctl " --stdio cloudfog-inspect " $@ "
2017 ;;
2118 request-execution)
2219 shift || true
2320 surface=" ${1:- cloudfog/ local-devshell} "
2421 shift || true
25- exec " $agentctl " --stdio request-surface-execution " $surface " " $@ "
22+ exec python3 " $agentctl " --stdio request-surface-execution " $surface " " $@ "
2623 ;;
2724 * )
2825 echo " usage: turtle-cloudfog [surfaces|inspect <surface>|request-execution <surface> -- <command>]" >&2
You can’t perform that action at this time.
0 commit comments