venvmod.tools module
Regroups tool for the package.
- venvmod.tools.check_raise(condition: bool, exception_type: Exception, message: str)[source]
Chack if a condition is True to raise
- venvmod.tools.get_shell_name_command() str[source]
Gets command to get shell name..
- Returns
Command as str.
- Return type
- venvmod.tools.get_process_result(command: str, capture_output: bool, cwd: Optional[str] = None) subprocess.CompletedProcess[source]
Run procces and get results
- venvmod.tools.run_process(command: str, verbose: bool, do_raise: bool, cwd: Optional[str] = None) int[source]
Run process