DesktopAppInfo.launchUrisAsManagerWithFds

Equivalent to gio.desktop_app_info.DesktopAppInfo.launchUrisAsManager 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.

Parameters

uris string[]

List of URIs

launchContext gio.app_launch_context.AppLaunchContext

a #GAppLaunchContext

spawnFlags glib.types.SpawnFlags

#GSpawnFlags, used for each process

userSetup glib.types.SpawnChildSetupFunc

a #GSpawnChildSetupFunc, used once for each process.

pidCallback gio.types.DesktopAppLaunchCallback

Callback for child processes

stdinFd int

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

stdoutFd int

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

stderrFd int

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

Return Value

Type: bool

true on successful launch, false otherwise.