package core_unix

  1. Overview
  2. Docs
Unix-specific portions of Core

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.1.tar.gz
md5=9370dca36f518fcea046d2752e3de22b
sha512=c4e8ce9d5885ac8fa8d554a97e1857f3a1c933e0eb5dfd4fe874412b9d09e6d0a2973b644733855553f33f5c859719228f0e6aaf3a2b7eb5befb46fc513750de

doc/src/core_unix.command_unix/command_unix.ml.html

Source file command_unix.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
open! Core
module Path = Command.Private.Path

module For_unix = Command.Private.For_unix (struct
  module Pid = Pid
  module Signal = Signal
  module Thread = Core_thread

  module Unix = struct
    include Core_unix

    let unsafe_getenv = Sys_unix.unsafe_getenv
    let create_process_env = create_process_env ?setpgid:None
    let wait pid = ignore (wait (`Pid pid) : Pid.t * Exit_or_signal.t)
  end

  module Version_util = struct
    include Version_util
    module Time = Time_float_unix
  end
end)

let run = For_unix.run
let shape = For_unix.shape

module Deprecated = struct
  let run = For_unix.deprecated_run
end

module Shape = struct
  let help_text = For_unix.help_for_shape
end
OCaml

Innovation. Community. Security.