Trait spawn_task_port::CommandSpawnWithTask
[−]
[src]
pub trait CommandSpawnWithTask { fn spawn_get_task_port(&mut self) -> Result<(Child, mach_port_t)>; }
As OS X-specific extension to std::process::Command
to spawn a process and
get back access to its Mach task port.
Required Methods
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
.