Open JJK96 opened 5 years ago
termite -e
executes the command passed as argument as-is, it doesn't pass it to a shell - you had the right diagnosis. And setting termcmd
to termite -e sh -c
won't work either because Termite expects the command to be passed as a single CLI argument, i.e. the resulting command has to be termite -e 'sh -c "$CMD"'
.
It was bound to happen one day or the other, the way termcmd
is being used by scripts might have to be modified to fix this bug.
It looks like Tilix also suffers from the same issue. Doesn't look like the commands are forwarded to a shell.
Steps
Outcome
termite is started but immediately closes
Expected
termite is started and stays open
Probable cause
The
-e
flag to termite does not support passing multiple commands using&&
as is done inrepl/x11.kak