# exec_result

{% dynamic setvar source_file "src/main/java/com/google/devtools/build/lib/bazel/repository/starlark/StarlarkExecutionResult.java" %} {% dynamic setvar version "7.0.0" %} {% dynamic setvar original_path "/rules/lib/builtins/exec_result" %} {% include "_buttons.html" %} 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
- stderr
- stdout

## return_code

    int exec_result.return_code

The 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.stderr

The content of the standard error output returned by the execution.

## stdout

    string exec_result.stdout

The content of the standard output returned by the execution.