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]
Versions 0.1.0.0
Change log ChangeLog.md
Dependencies base (==4.*), bytestring, directory (>=1.2 && <1.4), exceptions (>=0.6 && <0.11), lifted-async (>=0.9.1 && <0.11), monad-control (==1.*), process (>=1.2.0.0 && <1.7), streaming (>=0.1.4.0 && <0.3), streaming-bytestring (>=0.1.4.5 && <0.2), streaming-commons (>=0.1.16 && <0.3), streaming-concurrency (==0.3.*), streaming-with (==0.2.*), transformers, transformers-base [details]
License MIT
Copyright Ivan Lazar Miljenovic
Author Ivan Lazar Miljenovic
Maintainer Ivan.Miljenovic@gmail.com
Category Data, Streaming
Source repo head: git clone https://github.com/ivan-m/streaming-process.git
Uploaded by IvanMiljenovic at Wed May 23 13:53:51 UTC 2018
Distributions NixOS:0.1.0.0
Downloads 102 total (12 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-05-23 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for streaming-process-0.1.0.0

[back to package description]

streaming-process

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.

Exceptions

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

WARNING

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!