spawn-task-port 0.1.1

Spawn a child process on OS X and get the child's Mach task port.
Documentation
1
2
3
4
5
6
use std::io::{self, Read};

fn main() {
    let mut s = String::new();
    io::stdin().read_to_string(&mut s).unwrap();
}