package spin

  1. Overview
  2. Docs
OCaml project generator

Install

Dune Dependency

Authors

Maintainers

Sources

opam-spin-0.8.1.tbz
sha256=cd1ca43c7d3bb11be0b525642e57aa98e4d8250aea6c2fdb5c70b120449abdc1
sha512=0ff1e8886a49773d8ead3a21df1fb46697954fb43e875bd1ddc4cb95542fe0a767c556c432d78b47654a1f3d361800c234486e4cc237b9aa8d4df22e5a3a1ff9

doc/spin.std/Spin_std/Spawn/index.html

Module Spin_std.SpawnSource

include module type of struct include Spawn end

Note: on Unix, spawn uses vfork by default. It has been tested, but if you believe this is causing a problem in your application, you can change this default at runtime by setting the environment variable SPAWN_USE_FORK.

Sourcemodule Working_dir = Spawn.Working_dir
Sourcemodule Unix_backend = Spawn.Unix_backend
Sourcemodule Env = Spawn.Env
Sourcemodule Pgid = Spawn.Pgid

Process group IDs

Sourceval resolve_in_path : string -> string option
Sourceval resolve_in_path_exn : string -> string
Sourceval spawn : ?env:Env.t -> ?cwd:Working_dir.t -> ?stdin:Unix.file_descr -> ?stdout:Unix.file_descr -> ?stderr:Unix.file_descr -> string -> string list -> int
Sourceval exec : ?env:Env.t -> ?cwd:Working_dir.t -> ?stdin:Unix.file_descr -> ?stdout:Unix.file_descr -> ?stderr:Unix.file_descr -> string -> string list -> (unit, string) result
OCaml

Innovation. Community. Security.