virtualEnvironmentHomeURL

The home URL of a virtual environment that is entered when running a script.

Declaration

var virtualEnvironmentHomeURL: URL?

Discussion

The home is the path containing the binaries so the parent directory must be readable. Setting this does not affect currently running script automatically. Instead, if you’re running a shell you can call updateShellVirtualEnvironment().