Skip to content

Commit

Permalink
Warn about spawn without X11 and hook
Browse files Browse the repository at this point in the history
Don't fail silently. I'd prefer an actual ui notification, but in the
init the ui isn't available.
  • Loading branch information
MacGyverNL committed Sep 13, 2022
1 parent 9876150 commit 08895e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions alot/commands/globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ def __init__(self, cmd, stdin=None, shell=False, spawn=False,
termcmdlist = split_commandstring(term_cmd)
cmd = termcmdlist + cmd
else:
logging.warning('unable to handle spawn outside of X11 without touch_external_cmdlist hook set')
thread = False

self.cmdlist = cmd
Expand Down

0 comments on commit 08895e2

Please sign in to comment.