View on GitHub

OCamlverse

Documenting everything about OCaml

Edit

Process Management and Shell Scripting

  • The standard library contains the Unix module, which allows for low-level process management. This is fairly brittle due to the fact that it’s mostly (but not entirely) tailored towards Unix.
  • shexp: A library for type-safe command line programming. This includes process manipulation and piping. In fact, this is one of the few libraries that supports piping properly.
  • feather: Lightweight shell scripting and process management. docs.
  • lwt has the lwt_process module, which has cross-platform process manipulation functions.