package stdune

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

Binaries from the PATH

val path_sep : char

Character used to separate entries in PATH and similar environment variables

val parse_path : ?sep:char -> string -> Path.t list

Parse a PATH like variable

val cons_path : Path.t -> _PATH:string option -> string

Add an entry to the contents of a PATH variable.

val exe : string

Extension to append to executable filenames

val add_exe : string -> string

Adds an .exe suffix unless it is already present

val exists : Path.t -> bool

Check if a file exists

val which : path:Path.t list -> string -> Path.t option

Look for a program in the PATH

val make : path:Path.t list -> Path.t option

"make" program

OCaml

Innovation. Community. Security.