5.3.1.24.16.6. cli.helpers.python_setup.install_fox_cli_package_process

cli.helpers.python_setup.install_fox_cli_package_process(py: str, cwd: str, env_dir: str, dry_run: bool = True) int

Run local package installation in a child process with timeout handling.

Parameters:
  • py – Python executable inside the target environment.

  • cwd – Working directory for installation commands.

  • env_dir – Environment directory name used in timeout error messages.

  • dry_run – If True, print only and do not execute.

Returns:

0 on success, 1 on timeout.