Spin.done.live: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/share/spin.bend as Spin Lines 59-64 of ezx@1.11.0.0/src/share/spin.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/share/spin.bend&start_line=59&end_line=64 import Base import snap@1.4.0.0/main.bend as R import ezx@1.11.0.0/src/share/say.bend as Say # the mark stopped, and the line written where it was def done.live(+dev: String, +pid: String, +msg: String) -> IO(Unit): do IO: _k : String <- R.exec(["kill", pid]) _s : String <- R.exec(["sh", "-c", Say.settle(), "sh", dev, msg]) return Unit{} Uses (8): 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=IO.pure 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=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/share/say.bend&name=settle https://jend.leeeet.dev/definition.txt?path=snap@1.4.0.0/main.bend&name=exec