def load_process_cache(): for process in ProcessCache.get_from_storage(): ProcessCache.add( CrossPlatformProcess(process['workding_dir'], process['last_command'], process['pid']) )
def load_process_cache(): for process in ProcessCache.get_from_storage(): ProcessCache.add( CrossPlatformProcess(process['workding_dir'], process['last_command'], process['pid']))