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"
7license: "Apache-2.0"
8build: [
9 ["jbuilder" "build" "-p" name "-j" jobs]
10]
11depends: [
12 "ocaml" {>= "4.02.3"}
13 "jbuilder" {>= "1.0+beta18.1"}
14]
15synopsis: "Spawning sub-processes"
16description: """
17Spawn is a small library exposing only one functionality: spawning sub-process.
18
19It has three main goals:
20
211. provide missing features of Unix.create_process such as providing a
22working directory
23
242. provide better errors when a system call fails in the
25sub-process. For instance if a command is not found, you get a proper
26[Unix.Unix_error] exception
27
283. improve performances by using vfork when available. It is often
29claimed that nowadays fork is as fast as vfork, however in practice
30fork takes time proportional to the process memory while vfork is
31constant time. In application using a lot of memory, vfork can be
32thousands of times faster than fork."""
33url {
34 src: "https://github.com/janestreet/spawn/archive/v0.11.1.tar.gz"
35 checksum: [
36 "sha256=555fd0e7b0033e2274f528c74a4c3c0f50035c9c9e5ef9966044a99680ebffdf"
37 "md5=07c58bf2cc140cf44cacb10b9f2803e4"
38 ]
39}