pymhf.main module#
- class pymhf.main.WrappedProcess(proc: Process | None = None, thread_handle: int | None = None)#
Bases:
object
- resume()#
- suspend()#
- pymhf.main.get_process_when_ready(cmd: str, target: str, required_assemblies: list[str] | None = None, is_steam: bool = True, start_paused: bool = False)#
- pymhf.main.load_mod_file(filepath)#
Load an individual file as a mod.
- pymhf.main.run_module(module_path: str, config: pymhfConfig, plugin_name: str | None = None, config_dir: str | None = None)#
Run the module provided.
- Parameters:
module_path – The path to the module or single-file mod to be run.
config – A mapping of the associated pymhf config.
plugin_name – The name of the plugin. This will only be provided if we are running a library.
config_dir – The local config directory. This will only be provided if we are running a library.