this repo has no description
1opam-version: "2.0"
2synopsis: "Spawning sub-processes"
3description: """
4Spawn is a small library exposing only one functionality: spawning sub-process.
5
6It has three main goals:
7
81. provide missing features of Unix.create_process such as providing a
9working directory
10
112. provide better errors when a system call fails in the
12sub-process. For instance if a command is not found, you get a proper
13[Unix.Unix_error] exception
14
153. improve performances by using vfork when available. It is often
16claimed that nowadays fork is as fast as vfork, however in practice
17fork takes time proportional to the process memory while vfork is
18constant time. In application using a lot of memory, vfork can be
19thousands of times faster than fork.
20"""
21maintainer: ["Jane Street developers"]
22authors: ["Jane Street Group, LLC"]
23license: "MIT"
24homepage: "https://github.com/janestreet/spawn"
25doc: "https://janestreet.github.io/spawn/"
26bug-reports: "https://github.com/janestreet/spawn/issues"
27depends: [
28 "dune" {>= "2.5"}
29 "ppx_expect" {with-test}
30 "ocaml" {>= "4.02.3"}
31]
32# TODO: Uncomment (should be something similar) when opam 2.2.0 (hopefully) is around
33# See https://github.com/ocaml/opam/wiki/Spec-for-Extended-package-specific-variables
34# available: opam-version < "2.2" | _:manual
35build: [
36 ["dune" "subst"] {dev}
37 [
38 "dune"
39 "build"
40 "-p"
41 name
42 "-j"
43 jobs
44 "@install"
45 "@runtest" {with-test}
46 "@doc" {with-doc}
47 ]
48]
49dev-repo: "git+https://github.com/janestreet/spawn.git"
50x-commit-hash: "b5a25cab2f53a5ee9e10a7b8a96506cc61ce1198"
51url {
52 src:
53 "https://github.com/janestreet/spawn/releases/download/v0.14.0/spawn-v0.14.0.tbz"
54 checksum: [
55 "sha256=1a7b473dad236fad11573137dbb3f6d8d35340eb9d1612c178dc4459f6007d94"
56 "sha512=2f78b00d831bcb9343d5b28155110efd60597cd5097f2cee033360a34ceba8f32074aa5c7feba94edb3abf44453551a64156feaf4f64ddc3a69c48530921d89c"
57 ]
58}