this repo has no description
1opam-version: "2.0"
2maintainer: "Jane Street developers"
3authors: ["Jane Street Group, LLC"]
4homepage: "https://github.com/janestreet/spawn"
5bug-reports: "https://github.com/janestreet/spawn/issues"
6dev-repo: "git+https://github.com/janestreet/spawn.git"
7doc: "https://janestreet.github.io/spawn/"
8license: "Apache-2.0"
9build: [
10 ["dune" "build" "-p" name "-j" jobs]
11 # We don't test with OCaml < 4.04 as older versions of ppx_expect
12 # don't work with dune
13 ["dune" "runtest" "-p" name "-j" jobs] {with-test & ocaml >= "4.04" }
14]
15depends: [
16 "dune"
17 "ppx_expect" {with-test & < "v0.14"}
18 "ocaml" {>= "4.02.3"}
19]
20synopsis: "Spawning sub-processes"
21description: """
22Spawn is a small library exposing only one functionality: spawning sub-process.
23
24It has three main goals:
25
261. provide missing features of Unix.create_process such as providing a
27working directory
28
292. provide better errors when a system call fails in the
30sub-process. For instance if a command is not found, you get a proper
31[Unix.Unix_error] exception
32
333. improve performances by using vfork when available. It is often
34claimed that nowadays fork is as fast as vfork, however in practice
35fork takes time proportional to the process memory while vfork is
36constant time. In application using a lot of memory, vfork can be
37thousands of times faster than fork.
38"""
39url {
40 src:
41 "https://github.com/janestreet/spawn/releases/download/v0.13.0/spawn-v0.13.0.tbz"
42 checksum: [
43 "sha256=d0a6262dbc582e70a116120a953c909338bce59ef43400ec8194e24c8d6f6c02"
44 "md5=6eaadbf8f9231415b51658da6b8b090f"
45 ]
46}