Haskell library to pipe processes to IterIO enumerators
Haskell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Data/IterIO
.travis.yml
LICENSE
README.md
Setup.hs
Test.hs
process-iterio.cabal

README.md

IterIO Process Library

Build Status

A small library using the IterIO library to pipe data between processes.

Example usage:

{-# LANGUAGE OverloadedStrings #-}

import Data.IterIO
import Data.IterIO.Process

main :: IO ()
main = do
    -- List the contents of the current directory,
    -- grep for a cabal file, and print
    enumProcess "ls" [] |. cmd "grep" ["cabal"] |$ stdoutI

    -- Pipe "very cool" to 'cat' and print the output
    enumPure "very cool\n" |. cmd "cat" [] |$ stdoutI