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