| Safe Haskell | Safe-Inferred |
|---|
Distribution.Compat.CreatePipe
Documentation
createPipe :: IO (Handle, Handle)Source
Copy the contents of the input handle to the output handles, like
the Unix command. The input handle is processed in another thread until
EOF is reached; tee returns immediately. The Bool with each output
handle indicates if it should be closed when EOF is reached.
Synchronization can be achieved by blocking on an output handle.