def run

near-v-framework@0.4.0.0 · domain/architecture/system/effs/io.bend:26

import near-v-framework@0.4.0.0/domain/architecture/system/effs/io.bend as Io
import Base

26# A program's standard output when it exits 0, else "".
27def run(cmd: String, args: List<&2, String>) -> IO(String):
28  do IO<String>:
29    r : Result<&1, &1, U32 & String, String> <- Program.run(cmd, String.join(args, "\u{1f}"))
30    return out_of(r)

Uses (11)

Used by (25)