class LaunchOptions

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

Options given to [`Launcher.Launch`].

Public Methods

void LaunchOptions ()

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

void LaunchOptions (LaunchOptions && )

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

void LaunchOptions (Storage_ storage)
bool IsEmpty ()
const std::optional< ::std::string> & name ()

The launched process name.

Generated automatically if absent.

::std::optional< ::std::string> & name ()

The launched process name.

Generated automatically if absent.

LaunchOptions & name (std::optional< ::std::string> value)

The launched process name.

Generated automatically if absent.

const std::optional< ::std::vector< ::std::string>> & args ()

Additional arguments to pass to the launched process.

The server computes argv0 automatically from `program`.

Interpreted as empty vector if absent.

::std::optional< ::std::vector< ::std::string>> & args ()

Additional arguments to pass to the launched process.

The server computes argv0 automatically from `program`.

Interpreted as empty vector if absent.

LaunchOptions & args (std::optional< ::std::vector< ::std::string>> value)

Additional arguments to pass to the launched process.

The server computes argv0 automatically from `program`.

Interpreted as empty vector if absent.

const std::optional< ::fuchsia_developer_console::Program> & program ()

The program to run.

Interpreted as `Program.default_shell` if absent.

::std::optional< ::fuchsia_developer_console::Program> & program ()

The program to run.

Interpreted as `Program.default_shell` if absent.

LaunchOptions & program (std::optional< ::fuchsia_developer_console::Program> value)

The program to run.

Interpreted as `Program.default_shell` if absent.

const std::optional< ::fuchsia_developer_console::IoHandles> & io_handles ()

The standard input/output handles given to the program.

No standard IO handles are given if absent.

::std::optional< ::fuchsia_developer_console::IoHandles> & io_handles ()

The standard input/output handles given to the program.

No standard IO handles are given if absent.

LaunchOptions & io_handles (std::optional< ::fuchsia_developer_console::IoHandles> value)

The standard input/output handles given to the program.

No standard IO handles are given if absent.

const std::optional< ::std::vector< ::std::string>> & env ()

Environment variables to set for the launched process.

Interpreted as empty vector if absent.

::std::optional< ::std::vector< ::std::string>> & env ()

Environment variables to set for the launched process.

Interpreted as empty vector if absent.

LaunchOptions & env (std::optional< ::std::vector< ::std::string>> value)

Environment variables to set for the launched process.

Interpreted as empty vector if absent.

const std::optional< ::std::vector< ::fuchsia_process::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.

::std::optional< ::std::vector< ::fuchsia_process::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.

LaunchOptions & namespace_entries (std::optional< ::std::vector< ::fuchsia_process::NameInfo>> value)

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.

LaunchOptions & operator= (LaunchOptions && )

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

const std::optional< ::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.

::std::optional< ::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.

LaunchOptions & stopper (std::optional< ::zx::eventpair> value)

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.

const std::optional<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.

::std::optional<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.

LaunchOptions & directories_fixup (std::optional<bool> value)

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.

void LaunchOptions (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits