package shexp

  1. Overview
  2. Docs
Process library and s-expression based shell

Install

Dune Dependency

Authors

Maintainers

Sources

shexp-v0.16.0.tar.gz
sha256=fae7de344e97b6e75e63ee7b8058a29afd358235f50727a02d3f9445675afed0

doc/src/shexp.process/exit_status.ml.html

Source file exit_status.ml

1
2
3
4
5
6
7
8
9
10
open Import

type t =
  | Exited of int
  | Signaled of Signal.t

let sexp_of_t = function
  | Exited n -> Sexp.(cstr "Exited" [ int n ])
  | Signaled n -> Sexp.(cstr "Signaled" [ int n ])
;;
OCaml

Innovation. Community. Security.