Execute a child process with ptrace enabled.
```rust,norun extern crate spawnptrace;
use std::io; use spawn_ptrace::CommandPtraceSpawn; use std::process::Command;
fn run() -> io::Result<()> {
let child = Command::new("/bin/ls").spawn_ptrace()?;
// call ptrace(PTRACE_CONT, child.id(), ...)
to continue execution
// do other ptrace things here...
Ok(())
}
fn main() { run().unwrap(); } ```
This software is provided under the MIT license. See LICENSE.