Trait CommandSpawnWithTask

Source
pub trait CommandSpawnWithTask {
    // Required method
    fn spawn_get_task_port(&mut self) -> Result<(Child, mach_port_t)>;
}
Expand description

As OS X-specific extension to std::process::Command to spawn a process and get back access to its Mach task port.

Required Methods§

Source

fn spawn_get_task_port(&mut self) -> Result<(Child, mach_port_t)>

Executes the command as a child process, returning both the Child as well as the process’ Mach task port as a mach_port_t.

Implementations on Foreign Types§

Source§

impl CommandSpawnWithTask for Command

Implementors§