ae.sys.cmd

Simple execution of shell commands, and wrappers for common utilities.

Members

Functions

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)

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)

std.process helper. Run a command and collect its output. Throw if it exited with a non-zero status.

run
void run(string[] args)

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.

Manifest constants

NULL_FILE
enum NULL_FILE;
Undocumented in source.
NULL_FILE
enum NULL_FILE;
Undocumented in source.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <vladimir@thecybershadow.net>