class Execute

Defined at line 43 of file fidling/gen/sdk/fidl/fuchsia.driver.debug/fuchsia.driver.debug/cpp/fidl/fuchsia.driver.debug/cpp/markers.h

Executes a command with the provided argument vector.

The argument vector `args` is passed to the driver's command handler

as-is, without in-flight modification. The argument vector follows

standard command-line conventions (analogous to argv), where the first

argument (`args[0]`) is typically the command or subcommand name,

followed by any flags or positional arguments.

Standard output and standard error from command execution are streamed

to the provided `stdout` and `stderr` sockets. The driver or command

handler writes to these sockets and closes them upon or before

returning the response.

Returns the command's process exit code (`exit_code`), where 0

typically denotes success.

## Error

Returns a `zx.Status` error if the execution request itself fails:

* `ZX_ERR_INVALID_ARGS`: `args` is empty.

* `ZX_ERR_NOT_FOUND`: The requested command in `args[0]` is unknown.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal