Shell command to run.
Input to pass to the command via stdin. Defaults to no input.
A string containing all stdout output from the given commands execution.
A simple example for giving a program input programatically and returning the result.
assert (getOutput ("awk '{print tolower($0)}'", "TEXT") == "text");
Get the output of a shell command after passing it some input.