nix::sys::ptrace
pub fn detach(pid: Pid) -> Result<()>
Detaches the current running process, as with ptrace(PTRACE_DETACH, ...)
ptrace(PTRACE_DETACH, ...)
Detaches from the process specified in pid allowing it to run freely