process.cmdexec API [rev. 38799]

def posix_exec_cmd(cmd):

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.