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