Improve internal exception handling
This commit is contained in:
parent
9cc3a02512
commit
4cd0da05b1
1 changed files with 6 additions and 0 deletions
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in a new issue