Haskell's standard library for running system processes
open sourceBSD-3-Clausefree
process is the Haskell library for starting and working with system processes: running commands, passing them arguments and environment, connecting their standard input, output and error to handles or pipes, and waiting for them to exit. It ships with GHC and is maintained by the Haskell Libraries team. Its own description points to typed-process, a newer API built on top of it, for easier concurrency and better binary support.
Problems it solves
- run a shell command from my Haskell program and read its output
- start a child process and stream data to its standard input
- wait for an external program to finish and check its exit code
Features
- run commands with arguments and environment
- pipes to a child's stdin, stdout and stderr
- wait for and read a process's exit code
