pub fn new(package: &PackageInstall) -> Result<Self> {
        let mut env = package.environment_for_command()?;
        let path = Self::transform_path(env.get(PATH_KEY))?;
        env.insert(PATH_KEY.to_string(), path);
        Ok(Env(env))
    }
/// Modifies PATH env with the full run path for this package. This path is composed of any
/// binary paths specified by this package, or its TDEPS, plus a path to a BusyBox(non-windows),
/// plus the existing value of the PATH variable.
///
/// This means we work on any operating system, as long as you can invoke the Supervisor,
/// without having to worry much about context.
Modifies PATH env with the full run path for this package. This path is composed of any
binary paths specified by this package, or its TDEPS, plus a path to a BusyBox(non-windows),
plus the existing value of the PATH variable.

This means we work on any operating system, as long as you can invoke the Supervisor,
without having to worry much about context.
Modifies PATH env with the full run path for this package . This path is composed of any binary paths specified by this package or its TDEPS plus a path to a BusyBox ( non - windows ) plus the existing value of the PATH variable . This means we work on any operating system as long as you can invoke the Supervisor without having to worry much about context .
pub fn new(package: &PackageInstall) -> Result<Self> {
        let mut env = package.environment_for_command()?;
        let path = Self::transform_path(env.get(PATH_KEY))?;
        env.insert(PATH_KEY.to_string(), path);
        Ok(Env(env))
    }
pub fn new ( package : & PackageInstall ) -> Result < Self > { let mut env = package . environment_for_command ( ) ? ; let path = Self :: transform_path ( env . get ( PATH_KEY ) ) ? ; env . insert ( PATH_KEY . to_string ( ) , path ) ; Ok ( Env ( env ) ) }
Modifies PATH env with the full run path for this package.
Modifies PATH env with the full run path for this package .
package
&PackageInstall
package
&PackageInstall