Module Bos_setup.OS

include module type of struct include Bos.OS end

OS interaction

type ('a, 'e) result = ('a[> Rresult.R.msg ] as 'e) result

The type for OS results.

Environment variables and program arguments

module Env = Bos.OS.Env

Environment variables.

module Arg = Bos.OS.Arg

Quick and dirty program arguments parsing.

File system operations

Note. When paths are relative they are expressed relative to the current working directory.

module Path = Bos.OS.Path

Path operations.

module File = Bos.OS.File

File operations.

module Dir = Bos.OS.Dir

Directory operations.

Commands

module Cmd = Bos.OS.Cmd

Executing commands.

Low level access

module U = Bos.OS.U

Low level Unix access.