[go: up one dir, main page]

Function detach

Source
pub fn detach<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()>
Available on crate feature ptrace only.
Expand description

Detaches the current running process, as with ptrace(PTRACE_DETACH, ...)

Detaches from the process specified by pid allowing it to run freely, optionally delivering a signal specified by sig.