Build Status crates.io

Execute a child process with ptrace enabled.

Example

```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(); } ```

License

This software is provided under the MIT license. See LICENSE.