Exec
Source:
src/Fly/Exec.ts
Run a command on a Sprite via POST /sprites/{name}/exec.
Exec a command
Section titled “Exec a command”Bind the client in init. Provide ExecHttp. The Sprite name
is fixed by Exec(box).
const exec = yield* Fly.Exec(Box);const result = yield* exec({ cmd: ["ls", "-la"] });