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
the output instead of displaying it.
|
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 output instead of displaying it.
|
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
future, so you should use tryRun or run insetad.
|
Copyright
Copyright (C) 2014-2015 Nick Sabalausky