Cmd.run.started: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ez/cmd.bend as Cmd Lines 110-118 of ezx@1.11.0.0/src/ez/cmd.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ez/cmd.bend&start_line=110&end_line=118 import Base import ezx@1.11.0.0/src/share/env.bend as Env import ezx@1.11.0.0/src/ez/start.bend as S import ezx@1.11.0.0/src/share/pass.bend as Pass # the program `ez run` starts, on ez's own stdin, stdout and stderr, with the # project's BEND_LIB set for it, and the status it exited with; 0 when the # run was refused, which starts none def run.started(start: S.Start, +at: String) -> IO(U32): match start: case S.Refused{_why}: IO.pure(U32, 0) case S.Starts{line}: Pass.run(Env.line(at, line)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/start.bend&name=Start https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/share/env.bend&name=line https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/share/pass.bend&name=run