Trait spawn_ptrace::CommandPtraceSpawn
[−]
[src]
pub trait CommandPtraceSpawn {
fn spawn_ptrace(&mut self) -> Result<Child>;
}A Unix-specific extension to std::process::Command to spawn a process with ptrace enabled.
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.