utils.processutils

Undocumented in source.

Members

Classes

ProcessBuilder
class ProcessBuilder

Helper for more easily creating processes.

Functions

getEnv
string getEnv(string key)

Gets an environment variable.

run
int run(string cmd)

Runs the given command using the user's shell.

run
int run(string cmd, string outputFile)

Convenience method to run a command and pipe output to a file.

runOrQuit
void runOrQuit(string cmd)

Runs the given command, and exits the program if the return code is not 0.

runOrQuit
void runOrQuit(string cmd, string outputFile)
Undocumented in source. Be warned that the author may not have intended to support it.
setEnv
void setEnv(string key, string value)

Sets an environment variable.

Meta