@hackage popenhs1.0.0

popenhs is a popen-like library for Haskell.

popenhs is a small Haskell library that provides a convenient way of sending string input to a subprocess and reading output lazily. The code is based on runProcess from the hslibs posix library. (It is also an example of how to use automake in haskell packages.)

It provides two functions popen and popenEnvDir.

  • popen gives lazy output and error streams from a subprocess command, and optionally can direct input from a string to the process.

  • popenEnvDir in addition lets specify environment and directory in which to run the subprocess command.

Building should be straightforward. See the generic INSTALL file and "./configure --help" for more details.

  • run "./configure"

  • then "make"

  • and "make install"

For applications using popenhs, a helper program "popenhs-config" is provided that can be used in Makefile's for example to get the correct compile and link options. "popenhs-config --help" gives more information.

  • Installation

  • Dependencies (0)

  • Dependents (0)