Use the POSIX exec function to replace the running program with another.
# Cargo.toml
[dependencies]
exec = "0.3.1"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Replaces the current process with the 'ls -l' command.
Use conditional compilation or a cross-platform alternative like std::process::Command.
No dependency data recorded yet.