Module scriptlike.process

Functions

Name Description
run Runs a command, through the system's command shell interpreter, in typical shell-script style: Synchronously, with the command's stdout/in/err automatically forwarded through your program's stdout/in/err.
runCollect Similar to run(), but (like std.process.executeShell) captures and returns
tryRun Runs a command, through the system's command shell interpreter, in typical shell-script style: Synchronously, with the command's stdout/in/err automatically forwarded through your program's stdout/in/err.
tryRunCollect Similar to tryRun(), but (like std.process.executeShell) captures and returns the

Classes

Name Description
ErrorLevelException Indicates a command returned a non-zero errorlevel.

Structs

Name Description
Args Much like std.array.Appender!string, but specifically geared towards building a command string out of arguments. String and Path can both be appended. All elements added will automatically be escaped, and separated by spaces, as necessary.

Aliases

Name Type Description
runShell Backwards-compatibility alias. runShell may become deprecated in the

Authors

Nick Sabalausky

Copyright

Copyright (C) 2014-2015 Nick Sabalausky

License

zlib/libpng