- expandEnvVars
string expandEnvVars(string s, string[string] env)
Undocumented in source. Be warned that the author may not have intended to support it.
- getCurrentThreadID
ulong getCurrentThreadID()
Undocumented in source. Be warned that the author may not have intended to support it.
- getTempFileName
string getTempFileName(string extension)
Undocumented in source. Be warned that the author may not have intended to support it.
- iconv
ubyte[] iconv(void[] data, string inputEncoding, string outputEncoding)
Undocumented in source. Be warned that the author may not have intended to support it.
- iconv
string iconv(void[] data, string inputEncoding)
Undocumented in source. Be warned that the author may not have intended to support it.
- pipe
T[] pipe(string[] args, T[] input, Params params)
std.process helper.
Run a command, feed it the given input, and collect its output.
Throw if it exited with non-zero status. Return output.
- query
string query(string[] args, Params params)
std.process helper.
Run a command and collect its output.
Throw if it exited with a non-zero status.
- run
void run(string[] args, Params params)
std.process helper.
Run a command, and throw if it exited with a non-zero status.
- setEnvironment
void setEnvironment(string[string] env)
Reverse of std.process.environment.toAA
- sha1sum
string sha1sum(void[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
- waitAsync
void waitAsync(Pid pid, void delegate(int) callback)
Wait for process to exit asynchronously.
Call callback when it exits.
WARNING: the callback will be invoked in another thread!
- waitTimeout
int waitTimeout(Pid pid, Duration time)
Undocumented in source. Be warned that the author may not have intended to support it.
Simple execution of shell commands, and wrappers for common utilities.