Result waits for the command to exit and returns its final result.
func (h *SandboxCommandHandle) Result(ctx context.Context) (*SandboxExecutionResult, error)| Name | Type | Description |
|---|---|---|
ctx* | context.Context |
Result waits for the command to exit and returns its final result. If output chunks have not been consumed, Result drains them before returning.