class BlockingCommandRunner
Defined at line 25 of file ../../src/virtualization/lib/vsh/command_runner.h
Enable running commands using vsh.
Each command to be run will have its own vsh connection, which enables all
stdout/stderr and return code to be captured.
Note that this blocking interface will buffer all stdout/stderr for the
process until it exits and is not suitable for processes that produce a
large amount of stdout/stderr output.
Public Methods
void BlockingCommandRunner (fidl::InterfaceHandle<fuchsia::virtualization::HostVsockEndpoint> socket_endpoint, uint32_t port)
Defined at line 13 of file ../../src/virtualization/lib/vsh/command_runner.cc
fpromise::result<CommandResult, zx_status_t> Execute (Command command)
Sends a command over vsh to be executed and returns the output.
Note this is a blocking API that won't return until the process started
by |command| has exited, or the vsh connection has been closed.
Defined at line 18 of file ../../src/virtualization/lib/vsh/command_runner.cc