Skip to content

[P2] PROMPT_COMMAND='exit' kills GNU bash at the prompt but rubash's session survives #433

Closed

Description

@caomengxuan666

wt96/sweepfix finding: PROMPT_COMMAND='exit' terminates GNU bash when the prompt fires; rubash's session survives (the new Rust dispatch for PC array elements may have changed the exit-propagation for the string case too). Semantic parity check needed: exit in PROMPT_COMMAND should end the shell (GNU behavior).

Activity

  1. added
    P2-medium
    on Oct 9, 2026
  2. caomengxuan666 commented on Oct 9, 2026

    @caomengxuan666
    MemberAuthor

    已修复并双重落地:引擎侧 4b6234c(#433,exit-jump pending 机制),产品侧 niubash#232(两个 REPL 循环消费 jump + EXIT trap + rc 传播,交互套件 38/38)。回归锁定:niubash tests/interactive.rs 与 rubash 侧对应测试。关闭。

  3. caomengxuan666 commented on Oct 12, 2026

    @caomengxuan666
    MemberAuthor

    记账回执(fix/legacy-505-431-433 → #571):

    交接单 #479 的残留口径「PC parse-error rc=2 vs GNU 0」在现行 master 已闭合:五形态探针(EOF 即错/中段错/PC 正常/无 PC/末提示符错)GNU 5.3.0 与 rubash 全部 rc=0 一致。本票的 rubash 侧回归锁定补齐三条终局 rc 断言(tests/issue433_prompt_command_exit_regressions.rs 9/9),账面关闭。

  4. added 2 commits that reference this issue on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2-medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions