function Run.status
Block until the build finishes and return its
BuildStatus. The process, if it was spawned, keeps running.
function Run.wait
Block until the process exits and return its
std.process.ExitStatus, then join the build. Raises the build errors runnable would. Takes child, so use one or the other.
property Run.cancellation
The build’s cancellation token: cancelling it interrupts Bazel. The process has its own, the one passed as
cancellation =.
property Run.child
The target’s process, spawned the moment the target was ready. A
std.process.Child: wait, try_wait, stdout, kill as usual. Fails the way runnable does when the target did not build. Handed out once; a second access is an error.
property Run.label
The target, as it was asked for.
property Run.runnable
The built target, once it is built and its runfiles tree exists. Fails with
bazel.run.BuildError, bazel.run.NotBuilt or bazel.run.NotRunnable. Each access is a new future over the same result.
property Run.sink_invocation_id
The invocation id every gRPC BES sink filed this build under, or
"" without sinks. As on bazel.build.Build.
