package rashell

  1. Overview
  2. Docs
A resilient and replicant shell programming library

Install

Dune Dependency

Authors

Maintainers

Sources

rashell-0.2.1.tar.xz
sha256=2cf37af13fd7d551b1ce5a6820640c3fa266edc4eee2ae39110253180afbf959
md5=7a1afd61c5124443d3c9e719db172ef1

Description

As discussed by Lowell Jay Arthur in “Unix shell programming” (2nd ed.), the Unix shell is a brillant tool for quickly designing prototypes. Unluckily, error management is very difficult in the shell. Most interfaces to the Unix shell found in programming languages share this fragile optimism, which makes impossible to write maintainable and resilient programs.

Rashell defines primitives which combine ease of use with the ability to write maintainable and resilient programs leveraging the full power of Unix. These primitives implements common patterns to interact with Unix utilities as subprocesses. These patterns either yield a string or a stream of lines, which will also adequately report error conditions on subprocesses.

Rashell is based on the excellent Lwt library and its Lwt_process module.

WWW: https://github.com/michipili/rashell

Tags

shell

Published: 12 Jan 2016

Dependencies (8)

  1. mixture >= "0.2.0"
  2. lwt >= "2.5.0" & < "3.2.0"
  3. conf-bmake
  4. bsdowl >= "3.0.0"
  5. broken >= "0.4.2"
  6. atdgen >= "1.7.1" & < "1.13.0"
  7. ocamlfind
  8. ocaml

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.