Skip to main content
A runtime is the interpreter that runs python3 and node when a line has no installed one to call. Every line runs on a machine, and who answers python3 app.py depends on which: The machine is where a program runs; the runtime is what runs it when that place is Mirage. Its file calls reach the workspace’s mounts directly, under the same mount modes, permissions and policies as cat. Mirage ships these: Name the runtime on an in_process entry:
A runtime takes only its own interpreter’s names (@python or @js by default); see Captures. A host or a provider takes no runtime: it runs the python3 or node installed on it.

Script CLIs

A script CLI names its machine, in_process or host, and may name a runtime there. It runs on the first entry of that machine that runs its language, or on the runtime it names, whichever machine a line’s python3 goes to.
A script whose machine has no entry for its language exits 127 and names the workspace’s machines: pager: no in_process machine runs python scripts (workspace machines: 'js').