Cap.run: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/share/cap.bend as Cap Lines 56-61 of ezx@1.11.0.0/src/share/cap.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/share/cap.bend&start_line=56&end_line=61 import Base import snap@1.4.0.0/main.bend as R import ezx@1.11.0.0/src/share/env.bend as Env # a program run under the cap, with this project's BEND_LIB set for it def run(on: Bool, args: List<&2, String>) -> IO(String): do IO: +g : String <- gb() at : String <- Env.lib() R.exec(argv(on, g, at, args)) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/share/cap.bend&name=argv https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/share/cap.bend&name=gb https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/share/env.bend&name=lib https://jend.leeeet.dev/definition.txt?path=snap@1.4.0.0/main.bend&name=exec