IMPORTANT: The Bazel docs have moved! Please update your bookmark to https://bazel.build/rules/lib/exec_result
You can read about the migration, and let us know what you think.
Extensions >
API reference >
exec_result
exec_result
A structure storing result of repository_ctx.execute() method. It contains the standard output stream content, the standard error stream content and the execution return code.Members
return_code
int exec_result.return_codeThe return code returned after the execution of the program. 256 if the process was terminated by a time out; values larger than 128 indicate termination by a signal.
stderr
string exec_result.stderrThe content of the standard error output returned by the execution.
stdout
string exec_result.stdoutThe content of the standard output returned by the execution.