[−][src]Trait spawn_ptrace::CommandPtraceSpawn
A Unix-specific extension to std::process::Command
to spawn a process with ptrace
enabled.
See the crate-level documentation for an example.
Required methods
fn spawn_ptrace(&mut self) -> Result<Child>
Executes the command as a child process, also enabling ptrace on it.
The child process will be stopped with a SIGTRAP
calling exec
to execute the specified command. You can continue it with
PTRACE_CONT
.