Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 1.09 KB

Stream.rst

File metadata and controls

54 lines (43 loc) · 1.09 KB

Streams

shtk.Stream instances are pairs of file-like objects (one for reading data from the process, one for writing data to the process) used for communication with running processes. If a stream is one way (e.g. FileStream) then the underlying file-like objects reader or writer may be handles to os.devnull.

shtk.Stream instances are usually constructed internally within SHTK, rather than being directly instantiated by the end user.

shtk.Stream

shtk.Stream

shtk.FileStream

shtk.FileStream

shtk.ManualStream

shtk.ManualStream

shtk.NullStream

shtk.NullStream

shtk.PipeStream

shtk.PipeStream