def lib.line
import ezx@1.11.0.0/src/ws/hop.bend as Hopimport Base
88# the line that runs the same command where it is, with BEND_LIB set
89def lib.line(+lib: String, +pwd: String, +prog: String, words: List<&2, String>) -> List<&2, String>:
90 List.append(&2, String,
91 ["sh", "-c", "BEND_LIB=\"$1\"; export BEND_LIB; shift; exec \"$@\"", "sh", lib, program(pwd, prog)], words)