spawn-ptrace 0.1.0

Spawn a process with ptrace enabled.
Documentation

Build Status crates.io

Execute a child process with ptrace enabled. Currently requires Nightly Rust.

Example

# use std::io;
use spawn_ptrace::CommandPtraceSpawn;
use std::process::Command;

# fn foo() -> io::Result<()> {
let child = try!(Command::new("/bin/ls").spawn_ptrace());
// call `ptrace(PTRACE_CONT, child.id(), ...)` to continue execution
// do other ptrace things here...
# Ok(())
# }