streaming-process: Streaming support for running system process

[ data, library, mit, streaming ] [ Propose Tags ]

Stream data in and out of external commands. Configuration options are available to choose which inputs and outputs to use.

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS]
Change log
Dependencies base (>=4 && <5), bytestring, directory (>=1.2 && <1.4), exceptions (>=0.6 && <0.11), lifted-async (>=0.9.1 && <0.11), monad-control (>=1 && <2), process (>= && <1.7), streaming (>= && <0.3), streaming-bytestring (>= && <0.2), streaming-commons (>=0.1.16 && <0.3), streaming-concurrency (>=0.3 && <0.4), streaming-with (>=0.2 && <0.3), transformers, transformers-base [details]
License MIT
Copyright Ivan Lazar Miljenovic
Author Ivan Lazar Miljenovic
Category Data, Streaming
Source repo head: git clone
Uploaded by IvanMiljenovic at 2018-05-23T13:53:51Z
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 860 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-05-23 [all 1 reports]

Readme for streaming-process-

[back to package description]


Hackage Build Status

Run a process, streaming data in or out.

A lot of configuration options are available to fine-tune which inputs and outputs are streamed.

This uses streaming-with to handle resource management, and streaming-concurrency for handling both stdout and stderr together.

As such, code is typically run in a continuation-passing-style. You may wish to use the Streaming.Process.Lifted module if you have many of these nested.


The functions in this library will all throw ProcessExitedUnsuccessfully if the process/command itself fails.


If using this module, you will need to have:

ghc-options -threaded

in the executable section of your .cabal file, otherwise your code will likely hang!