Improve internal exception handling

This commit is contained in:
codeking 2025-05-09 01:46:57 +02:00
parent 9cc3a02512
commit 4cd0da05b1

View file

@ -113,6 +113,12 @@ class ApplicationController:
@staticmethod
def __run_process(initialization_file_path, profile, display, session_state):
if shutil.which('bwrap') is None:
raise CommandNotFoundError('bwrap')
if shutil.which('ratpoison') is None:
raise CommandNotFoundError('ratpoison')
if shutil.which('Xephyr') is None:
raise CommandNotFoundError('Xephyr')