pub fn inject_preloads(
envv: Vec<CString>,
injected_preloads: &[PathBuf],
) -> Vec<CString>Expand description
Inject injected_preloads into the environment envv.
- Ordering of
envvis preserved. - Ordering of preloads already in
envvis preserved. - Addition of duplicate entries from
injected_preloadsis suppressed (to avoid unbounded growth of env through chain of execve’s)