Impl.open: def of bend-stdio-pipes@0.2.0.0 Import: import bend-stdio-pipes@0.2.0.0/impl.bend as Impl Lines 15-24 of bend-stdio-pipes@0.2.0.0/impl.bend: https://jend.leeeet.dev/read.txt?path=bend-stdio-pipes@0.2.0.0/impl.bend&start_line=15&end_line=24 import Base # Start a program, with its stdin and stdout as pipes: its process id, the File that writes its # stdin, and the File that reads its stdout. Its stderr is ours. Closing the stdin File gives it # EOF; nothing waits for it to exit. On JS, it runs on Bun on Linux and macOS only; elsewhere it # fails with ENOSYS. def open( program: String, args: List ) -> IO(Result<&1, &1, U32 & String, U32 & (File & File)>): import "./open.c" import "./open.js" Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=File 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=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32