5.3.1.24.16.2. cli.helpers.python_setup.create_env_process
- cli.helpers.python_setup.create_env_process(py: str, env_dir: str, ver: str = '', dry_run: bool = True) int
Run virtual-environment creation in a child process with timeout handling.
- Parameters:
py – Python executable command.
env_dir – Destination directory for the virtual environment.
ver – Optional version selector argument.
dry_run – If
True, print only and do not execute.
- Returns:
0on success,1on timeout.