srctools.run
Code for running VBSP and VRAD.
-
srctools.run.
run_compiler
(name: str, args: ~typing.List[str], logger: ~logging.Logger = <LoggerAdapter srctools.<compiler> (WARNING)>, change_name: bool = True,) int Execute the original vbsp, vvis or vrad.
The provided logger will be given the output from the compiler. The process exit code is returned.