Crate spawn_ptrace [] [src]

Execute a child process with ptrace enabled.

Examples

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

let child = Command::new("/bin/ls").spawn_ptrace()?;
// call `ptrace(PTRACE_CONT, child.id(), ...)` to continue execution
// do other ptrace things here...

Traits

CommandPtraceSpawn

A Unix-specific extension to std::process::Command to spawn a process with ptrace enabled.