template <>

class WireSyncClientImpl

Defined at line 874 of file fidling/gen/sdk/fidl/fuchsia.process/fuchsia.process/cpp/fidl/fuchsia.process/cpp/wire_messaging.h

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_process::Launcher>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_process::Launcher::Launch> Launch (::fuchsia_process::wire::LaunchInfo && info)

Creates and starts the process described by `info`.

After processing this message, the `Launcher` is reset to its initial

state and is ready to launch another process.

`process` is present if, and only if, `status` is `ZX_OK`.

Allocates 96 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_process::Launcher::CreateWithoutStarting> CreateWithoutStarting (::fuchsia_process::wire::LaunchInfo && info)

Creates the process described by `info` but does not start it.

After processing this message, the `Launcher` is reset to its initial

state and is ready to launch another process.

The caller is responsible for calling `zx_process_start` using the data

in `ProcessStartData` to actually start the process.

`data` is present if, and only if, `status` is `ZX_OK`.

Allocates 160 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::OneWayStatus AddArgs (::fidl::VectorView< ::fidl::VectorView<uint8_t>> args)

Adds the given arguments to the command-line for the process.

Calling this method multiple times concatenates the arguments.

Allocates 16 bytes of response buffer on the stack. Request is heap-allocated.

::fidl::OneWayStatus AddEnvirons (::fidl::VectorView< ::fidl::VectorView<uint8_t>> environ)

Adds the given variables to the environment variables for the process.

Calling this method multiple times concatenates the variables.

Allocates 16 bytes of response buffer on the stack. Request is heap-allocated.

::fidl::OneWayStatus AddNames (::fidl::VectorView< ::fuchsia_process::wire::NameInfo> names)

Adds the given names to the namespace for the process.

The paths in the namespace must be non-overlapping. See

<https

://fuchsia.dev/fuchsia-src/concepts/process/namespaces> for details.

Calling this method multiple times concatenates the names.

Allocates 16 bytes of response buffer on the stack. Request is heap-allocated.

::fidl::OneWayStatus AddHandles (::fidl::VectorView< ::fuchsia_process::wire::HandleInfo> handles)

Adds the given handles to the startup handles for the process.

Calling this method multiple times concatenates the handles.

Allocates 16 bytes of response buffer on the stack. Request is heap-allocated.

::fidl::OneWayStatus SetOptions (uint32_t options)

Sets the options with which the process is created.

Calling this method multiple times will overwrite the current options.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.