You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug] Failed-exec diagnostic dropped under 2>&1 dup redirect #1144
[bug] Failed-exec diagnostic dropped under dup-style redirect (2>&1), rc unaffected
exec nosuchcmd_xyz 2>&1;echo after
# GNU bash 5.3: message `exec: nosuchcmd_xyz: not found` on stdout (redirect honored), rc=127, no AFTER (aborts)# niu: message nowhere (stdout and stderr both empty), rc=127, no AFTER
Clean exec fail (no redirect) and exec fail 2>file are identical in both — only the dup variant drops it. Proximity note: #934 (closed) covered open-failure diag routing incl. exec 2>; this is the dup-redirect leftover on the exec-fail path. Low: message loss only.
Env: niubash 1.4.4 / rubash engine (master ~2026-10), GNU bash 5.3.20 aarch64-linux-android as oracle.
Activity
test(goldens): refresh errors/redir snapshots for the bulk GNU-parity…
caomengxuan666 commentedon Oct 23, 2026
FIXED-BY-#1181 — verified on master (263ce53f). Commit 361a320.
exec nosuchcmd_xyz 2>&1; echo after→exec: nosuchcmd_xyz: not foundon stdout, rc=127, noafter. Identical to GNU 5.3.20.