run
Execute a Renyi program on the VM with arguments under declared grants narrowed by options, returning output and exit status. Optionally replay effects from a recording.
Instructions
Check a program and run its main on the VM with the arguments, under the grant it declares narrowed by the options (the same as renyi run). Answers with what the program printed and how it ended. Its effects really happen unless replay names a recording.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deny | No | capabilities to refuse, such as `network`; the run does not start when any function needs one | |
| path | Yes | the program, a file under the served directory | |
| replay | No | a recording to answer every effect from; nothing is written or sent | |
| at_most | No | budgets to add, `<capability>=<count>/<unit>`, such as `network.http=10/run` | |
| explain | No | narrate the run: purposes, arguments, results and effects | |
| arguments | No | the command-line arguments | |
| allow_host | No | hosts `network.http` is narrowed to | |
| allow_read | No | path prefixes `filesystem.read` is narrowed to | |
| allow_write | No | path prefixes `filesystem.write` is narrowed to |