package core_unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

this module mirrors Spawn.Pgid

type t

Only used when creating a process. If a value of this type is provided when creating a process, the child will immediately set its pgid accordingly.

val new_process_group : t

Sets the child's pgid to the same as its process id. Equivalent to calling setpgid(0, 0).

val of_pid : int -> t

Raises Invalid_arg if the value is not strictly positive.

OCaml

Innovation. Community. Security.