std.process¶
Module entries: currentProcessPath()
, exec()
, getEnv()
, readback()
, system()
- currentProcessPath()¶
string currentProcessPath()
Gets the full path of the binary of the current process.
- exec(path, args)¶
int exec(string path, string[] args)
Executes the binary found at
path
withargs
. Blocks until the binary returns.
- getEnv(name)¶
string getEnv(string name)
The value of the environment variable named
name
.
- readback(command)¶
string readback(string command)
Executes the shell command and returns the output it wrote.
- system(command)¶
void system(string command)
Executes the shell command.