class LaunchOptions

Defined at line 104 of file fidling/gen/sdk/fidl/fuchsia.developer.console/fuchsia.developer.console/cpp/fidl/fuchsia.developer.console/cpp/wire_types.h

Options given to [`Launcher.Launch`].

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableExternalBuilder< ::fuchsia_developer_console::wire::LaunchOptions> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_developer_console::wire::LaunchOptions>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void LaunchOptions ()

Defined at line 108 of file fidling/gen/sdk/fidl/fuchsia.developer.console/fuchsia.developer.console/cpp/fidl/fuchsia.developer.console/cpp/wire_types.h

void LaunchOptions (const LaunchOptions & other)

Defined at line 109 of file fidling/gen/sdk/fidl/fuchsia.developer.console/fuchsia.developer.console/cpp/fidl/fuchsia.developer.console/cpp/wire_types.h

void LaunchOptions (LaunchOptions && other)

Defined at line 111 of file fidling/gen/sdk/fidl/fuchsia.developer.console/fuchsia.developer.console/cpp/fidl/fuchsia.developer.console/cpp/wire_types.h

void _CloseHandles ()
::fidl::WireTableBuilder< ::fuchsia_developer_console::wire::LaunchOptions> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::StringView & name ()

The launched process name.

Generated automatically if absent.

bool has_name ()
::fidl::VectorView< ::fidl::StringView> & args ()

Additional arguments to pass to the launched process.

The server computes argv0 automatically from `program`.

Interpreted as empty vector if absent.

bool has_args ()
LaunchOptions & operator= (const LaunchOptions & other)

Defined at line 110 of file fidling/gen/sdk/fidl/fuchsia.developer.console/fuchsia.developer.console/cpp/fidl/fuchsia.developer.console/cpp/wire_types.h

LaunchOptions & operator= (LaunchOptions && other)

Defined at line 112 of file fidling/gen/sdk/fidl/fuchsia.developer.console/fuchsia.developer.console/cpp/fidl/fuchsia.developer.console/cpp/wire_types.h

::fuchsia_developer_console::wire::Program & program ()

The program to run.

Interpreted as `Program.default_shell` if absent.

bool has_program ()
::fuchsia_developer_console::wire::IoHandles & io_handles ()

The standard input/output handles given to the program.

No standard IO handles are given if absent.

bool has_io_handles ()
::fidl::VectorView< ::fidl::StringView> & env ()

Environment variables to set for the launched process.

Interpreted as empty vector if absent.

bool has_env ()
::fidl::VectorView< ::fuchsia_process::wire::NameInfo> & namespace_entries ()

Extra namespace entries to give to the launched process.

Entries that collide with the default entries provided by the developer

console override the defaults.

All namespace entry paths *MUST* start with a `/`,

`INVALID_NAMESPACE_PATH` is returned otherwise.

Interpreted as empty vector if absent.

bool has_namespace_entries ()
::zx::eventpair & stopper ()

An event pair that must be kept alive for the created process to be

maintained.

Optional. If provided, the container job for the launched process is

destroyed when the peer handle for `stopper` is closed.

bool has_stopper ()
bool & directories_fixup ()

Enables fixing up the launch namespace for the conventional shell

namespace.

When using the /toolbox namespace for launching programs, it may be

necessary to organize the directories given to toolbox so that they look

like a "standardized" directory layout. This is a built-in feature that

allows the server to provide this fix up which consists of walking

`/directories` in the namespace and applying the following renaming

rules:

- `/directories/root-ssl-certificates` => `/config/ssl`.

- `/directories/build-info` => `/config/build_info`.

- `/directories/[any]` => `/[any]`.

Interpreted as false if absent.

bool has_directories_fixup ()
void ~LaunchOptions ()

Defined at line 114 of file fidling/gen/sdk/fidl/fuchsia.developer.console/fuchsia.developer.console/cpp/fidl/fuchsia.developer.console/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder