Under the hood
Relaunch and suspend/resume paths now explicitly remove a stdout write hook first
What
Before relaunching the CLI as a child process, and before resuming after the process is suspended and continued (SIGTSTP/SIGCONT), Claude Code now explicitly calls a helper to uninstall a previously-installed hook that intercepts writes to standard output. Previously these paths either skipped this step or used a different, non-equivalent function.
Why
This avoids leaving the stdout interceptor installed across a relaunch or a suspend/resume cycle, which could otherwise interfere with output in the new process or after resuming.