pub fn exec_retrying(command: &mut Command) -> ErrorExpand description
What:
Replace this process with the command, trying again when the replacement is refused for lack of processes.
Returns only the error that ended the attempts.
Why:
exec returns only when it failed, and a failed exec replaced nothing.
In TS you’d write (pseudocode):
// process.execve(command) with the same retry