Skip to main content

os_interface

module core.interfaces.os_interface


class OSInterface


method get_process_status

get_process_status(process_name: str)str

Takes a process name "*.exe" and returns its OS process status (see return types).


method validate_disk_space

validate_disk_space()None

Raises a OSInterface.StorageError the disk is more than 90% full


method validate_system_battery

validate_system_battery()None

Raises LowEnergyError if system battery runs lower than 20%.