Trait gio::prelude::DesktopAppInfoExtManual [−][src]
pub trait DesktopAppInfoExtManual { fn launch_uris_as_manager_with_fds<P: IsA<AppLaunchContext>, T: AsRawFd, U: AsRawFd, V: AsRawFd>(
&self,
uris: &[&str],
launch_context: Option<&P>,
spawn_flags: SpawnFlags,
user_setup: Option<Box_<dyn FnOnce() + 'static>>,
pid_callback: Option<&mut dyn FnMut(&DesktopAppInfo, Pid)>,
stdin_fd: &mut T,
stdout_fd: &mut U,
stderr_fd: &mut V
) -> Result<(), Error>; }
Required methods
fn launch_uris_as_manager_with_fds<P: IsA<AppLaunchContext>, T: AsRawFd, U: AsRawFd, V: AsRawFd>(
&self,
uris: &[&str],
launch_context: Option<&P>,
spawn_flags: SpawnFlags,
user_setup: Option<Box_<dyn FnOnce() + 'static>>,
pid_callback: Option<&mut dyn FnMut(&DesktopAppInfo, Pid)>,
stdin_fd: &mut T,
stdout_fd: &mut U,
stderr_fd: &mut V
) -> Result<(), Error>
fn launch_uris_as_manager_with_fds<P: IsA<AppLaunchContext>, T: AsRawFd, U: AsRawFd, V: AsRawFd>(
&self,
uris: &[&str],
launch_context: Option<&P>,
spawn_flags: SpawnFlags,
user_setup: Option<Box_<dyn FnOnce() + 'static>>,
pid_callback: Option<&mut dyn FnMut(&DesktopAppInfo, Pid)>,
stdin_fd: &mut T,
stdout_fd: &mut U,
stderr_fd: &mut V
) -> Result<(), Error>
This is supported on crate feature
v2_58
and Unix only.