Ok, so pushing further.
-e does seem to work fine with terminator 2.1.2-1. At least, these
commands works fine:
x-terminal-emulator -e 'if test -x /bin/ss ; then watch -t ss -putsw;
else netstat -c; fi'
x-terminal-emulator -e 'watch /'
Adding "sh -c" fails though:
------------------------------------------------
$ x-terminal-emulator -e bash -c 'watch /'
(x-terminal-emulator:98199): dbind-WARNING **: 14:48:34.964: AT-SPI:
Error retrieving accessibility bus address:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not
provided by any .service files
usage: x-terminal-emulator [-h] [-v] [-m] [-M] [-f] [-b] [-H] [-T
FORCEDTITLE]
[--geometry GEOMETRY] [--command COMMAND]
[-e EXECUTE] [-g CONFIG] [-j CONFIGJSON]
[-x EXECUTE] [--working-directory DIR]
[-i FORCEDICON] [-r ROLE] [-l LAYOUT] [-s]
[-p PROFILE] [-u] [-d]
[--debug-classes DEBUG_CLASSES]
[--debug-methods DEBUG_METHODS] [--new-tab]
[--unhide] [--list-profiles] [--list-layouts]
------------------------------------------------
This error does seem to be caused by the issue John pointed out.
Applying the upstream patch, calling this command doesn't error out
anymore, but now replicates the "the window comes up and disappears
immediately." issue:
x-terminal-emulator -e bash -c 'watch /'
This command still works fine though:
x-terminal-emulator -e 'watch /'
All this to say, I'm not sure this bug is serious? It seems the -e
option does work?
I'll try to see what to do with this bug tomorrow.
--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Louis-Philippe Véronneau
⢿⡄⠘⠷⠚⠋ po...@debian.org / veronneau.org
⠈⠳⣄