Function run_python_script_with_envs

Source
fn run_python_script_with_envs<I, K, V>(
    interpreter: &Path,
    script: &str,
    envs: I,
) -> Result<String>
where I: IntoIterator<Item = (K, V)>, K: AsRef<OsStr>, V: AsRef<OsStr>,
Expand description

Run a python script using the specified interpreter binary with additional environment variables (e.g. PYTHONPATH) set.

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here