[][src]Function gstuff::slurp_prog

pub fn slurp_prog(command: &str) -> Result<String, String>

Runs a command in a shell, returning stderr+stdout on success.

Sometimes we need something simpler than constructing a Command.

If the command failed then returns it's stderr