Function rustix::process::set_executable_file

source ·
pub fn set_executable_file(fd: BorrowedFd<'_>) -> Result<()>
Expand description

Supersede the /proc/pid/exe symbolic link with a new one pointing to a new executable file.

§References