def separate_app_process(worker_queue, status_queue, log_queue, queue_list, queue_lock): """This prevents any QT components being imported in the main process""" from fastflix.application import start_app freeze_support() try: start_app(worker_queue, status_queue, log_queue, queue_list, queue_lock) except Exception as err: print(f"Could not start GUI process - Error: {err}", file=sys.stderr) raise err
def separate_app_process(worker_queue, status_queue, log_queue): """ This prevents any QT components being imported in the main process""" from fastflix.application import start_app freeze_support() start_app(worker_queue, status_queue, log_queue)