[][src]Trait spawn_ptrace::CommandPtraceSpawn

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.

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.

Loading content...

Implementations on Foreign Types

impl CommandPtraceSpawn for Command[src]

Loading content...


Loading content...