Bug#994848: xterm: "xterm -e command" should return the exit code of "command"
Package: xterm
Version: 368-2
Severity: wishlist
Tags: upstream
Hi,
for test suites of tools which manipulate terminals, it would be nice if
"xterm -e command" would return the exit code of "command", e.g.
$ xterm -e false
should exit with return code 1, but actually does exit with return code 0.
This issue might be related with https://bugs.debian.org/427798 as being
able to save the contents of the terminal would be nice in the above
mentioned use case as well.
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (990, 'unstable'), (980, 'unstable-debug'), (600, 'testing'), (111, 'buildd-unstable'), (111, 'buildd-experimental'), (110, 'experimental'), (105, 'experimental-debug')
Architecture: amd64 (x86_64)
Kernel: Linux 5.13.0-trunk-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages xterm depends on:
ii libc6 2.32-4
ii libfontconfig1 2.13.1-4.2
ii libfreetype6 2.10.4+dfsg-1
ii libice6 2:1.0.10-1
ii libtinfo6 6.2+20210905-1
ii libutempter0 1.2.1-2
ii libx11-6 2:1.7.2-2+b1
ii libxaw7 2:1.0.13-1.1
ii libxext6 2:1.3.4-1
ii libxft2 2.3.2-2
ii libxinerama1 2:1.1.4-2
ii libxmu6 2:1.1.2-2+b3
ii libxpm4 1:3.5.12-1
ii libxt6 1:1.2.0-1
ii xbitmaps 1.1.1-2.1
Versions of packages xterm recommends:
ii x11-utils 7.7+5
Versions of packages xterm suggests:
pn xfonts-cyrillic <none>
-- no debconf information
Reply to: