Skip to content

Latest commit

 

History

History
115 lines (68 loc) · 2.49 KB

File-std-process-ml-507069519.md

File metadata and controls

115 lines (68 loc) · 2.49 KB

std/process.ml

Home · Files

Provides the std process package.

Package: std.process

Reachable from entry: no

Declarations

currentDirectory

function currentDirectory()

Provide the current directory operation for this standard-library module.

Source: std/process.ml:151

environment

function environment(name)

Return an environment value, or void when the variable is absent.

Parameter Type Default Description
name dynamic — Name of the requested item.

Source: std/process.ml:129

executablePath

function executablePath()

Return the absolute path of the currently running native image.

Source: std/process.ml:108

id

function id()

Provide the id operation for this standard-library module.

Source: std/process.ml:96

MAX_ENVIRONMENT_BYTES

const MAX_ENVIRONMENT_BYTES = 1048576

Track the max environment bytes value used by this standard-library module.

Source: std/process.ml:17

MAX_PATH_BYTES

const MAX_PATH_BYTES = 32768

Track the max path bytes value used by this standard-library module.

Source: std/process.ml:19

PROCESS_ERR

const PROCESS_ERR = 261

Track the process err value used by this standard-library module.

Source: std/process.ml:15

setCurrentDirectory

function setCurrentDirectory(path)

Updates set current directory.

Parameter Type Default Description
path dynamic — Path to operate on.

Source: std/process.ml:167