bend-pipe-session
Search uses release 0.2.0.0 · 18 definitions
Definitions (18)
- type PipeSessionA running program: its process id, the File that writes its stdin, the File that reads its stdout, and the most bytes in one of its lines, with its line end.
- type HeardA line of the program, as PipeSession.ask sorts it.
- def PipeSession.pid
- def PipeSession.started
- def PipeSession.startStarts program with args.
- def PipeSession.endedThe code of the error that PipeSession.ask gives when the program ended before its answer: EPIPE.
- def Heard.read
- def PipeSession.ask.gosaid holds the lines so far, the last first; fuel bounds the lines, far beyond any answer.
- def PipeSession.asked
- def PipeSession.wrote
- def PipeSession.askSends lines, then answers the program's lines up to the first that starts with until.
- def PipeSession.killKills the program, whether or not it has ended, and closes its Files.
- def PipeSession.AnswerWhat PipeSession.ask gives.
- def PipeSession.ask.lateThe answer that came once the program was killed: its Files close.
- def PipeSession.ask.polled
- def PipeSession.ask.withinAs PipeSession.ask, within ms; None when the program has not answered by then: it is killed, and the session is gone.
- def PipeSession.end.go
- def PipeSession.endCloses the program's stdin, then answers what it said until it ended.