process.cmdexec API [rev. unknown]

def posix_exec_cmd(cmd, debug=False):

return output of executing 'cmd'. raise ExecutionFailed exeception if the command failed. the exception will provide an 'err' attribute containing the error-output from the command.