def snaprun.exec
import snap@1.4.0.0/src/effect.bend as Effectimport Base
6# the program and its arguments, NUL separated (`wire`), run with no shell
7# between. The answer is the exit status on its own first line, then stdout
8# and stderr.
9def snaprun.exec(cmd: String) -> IO(String):
10 import "./exec.c"
11 import "./exec.js"