def run

snap@1.4.0.0 · main.bend:16

import snap@1.4.0.0/main.bend as Snap
import Base
import snap@1.4.0.0/src/effect.bend as Effect
import snap@1.4.0.0/src/argv.bend as Argv

16# a program run with its arguments: the exit status on its own first line,
17# then stdout and stderr together. A refused argv answers 127 and runs nothing.
18def run(argv: List<&2, String>) -> IO(String):  # noqa: L001 IO entry point
19  Argv.run.with(Effect.snaprun.exec, Argv.run.plan(argv))

Uses (6)

Used by (1)