Skip to content

Commit fc7bda9

Browse files
committed
fix: invoke sibling agentctl through python in cloudfog bridge
1 parent efe5f13 commit fc7bda9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

assets/sourceos/bin/turtle-cloudfog

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ cmd="${1:-surfaces}"
99
case "$cmd" in
1010
surfaces)
1111
shift || true
12-
exec "$agentctl" --stdio cloudfog-surfaces "$@"
12+
exec python3 "$agentctl" --stdio cloudfog-surfaces "$@"
1313
;;
1414
inspect)
1515
shift || true
16-
exec "$agentctl" --stdio cloudfog-inspect "$@"
16+
exec python3 "$agentctl" --stdio cloudfog-inspect "$@"
1717
;;
1818
request-execution)
1919
shift || true
2020
surface="${1:-cloudfog/local-devshell}"
2121
shift || true
22-
exec "$agentctl" --stdio request-surface-execution "$surface" "$@"
22+
exec python3 "$agentctl" --stdio request-surface-execution "$surface" "$@"
2323
;;
2424
*)
2525
echo "usage: turtle-cloudfog [surfaces|inspect <surface>|request-execution <surface> -- <command>]" >&2

0 commit comments

Comments
 (0)