Run.probe.ask: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/doctor/run.bend as Run Lines 29-36 of ezx@1.11.0.0/src/doctor/run.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/doctor/run.bend&start_line=29&end_line=36 import Base import snap@1.4.0.0/main.bend as R import ezx@1.11.0.0/src/run/bend.bend as Bend # how a program is asked for its version, once it is known whether this is # bend. Everything else answers the flag. def probe.ask(is_bend: Bool, name: String) -> IO(String): match is_bend: case True{}: Bend.version() case False{}: R.exec([name, "--version"]) Uses (6): 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=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/run/bend.bend&name=version https://jend.leeeet.dev/definition.txt?path=snap@1.4.0.0/main.bend&name=exec