launchUrisAsManagerWithFds

open fun launchUrisAsManagerWithFds(uris: <Error class: unknown class>, launchContext: AppLaunchContext? = null, spawnFlags: <Error class: unknown class>, userSetup: <Error class: unknown class>?, pidCallback: DesktopAppLaunchCallback?, stdinFd: <Error class: unknown class>, stdoutFd: <Error class: unknown class>, stderrFd: <Error class: unknown class>): <Error class: unknown class><Boolean>

Equivalent to method@Gio.DesktopAppInfo.launch_uris_as_manager but allows you to pass in file descriptors for the stdin, stdout and stderr streams of the launched process.

If application launching occurs via some non-spawn mechanism (e.g. D-Bus activation) then @stdin_fd, @stdout_fd and @stderr_fd are ignored.

Return

TRUE on successful launch, FALSE otherwise.

Since

2.58

Parameters

uris

List of URIs

launchContext

a class@Gio.AppLaunchContext

spawnFlags

flags@GLib.SpawnFlags, used for each process

userSetup

a callback@GLib.SpawnChildSetupFunc, used once for each process.

pidCallback

Callback for child processes

stdinFd

file descriptor to use for child’s stdin, or -1

stdoutFd

file descriptor to use for child’s stdout, or -1

stderrFd

file descriptor to use for child’s stderr, or -1