Skip to content

fix: quick_install.sh pipe mode TTY redirect#212

Merged
Sunrisepeak merged 2 commits intomainfrom
feat/quick-install-optimize
Mar 16, 2026
Merged

fix: quick_install.sh pipe mode TTY redirect#212
Sunrisepeak merged 2 commits intomainfrom
feat/quick-install-optimize

Conversation

@Sunrisepeak
Copy link
Copy Markdown
Member

Summary

  • Replace exec < /dev/tty with per-command < /dev/tty redirect in quick_install.sh
  • exec hijacks bash's own stdin in pipe mode (curl | bash), preventing bash from reading remaining script lines — causes the installer to hang

Test plan

  • curl -fsSL .../quick_install.sh | bash — should not hang at "Running installer..."
  • curl -fsSL .../quick_install.sh | bash -s v0.4.1 — version pinning + TTY works
  • XLINGS_NON_INTERACTIVE=1 curl ... | bash — CI mode skips TTY redirect

🤖 Generated with Claude Code

Sunrisepeak and others added 2 commits March 17, 2026 00:50
…ll.sh

exec < /dev/tty hijacks bash's own stdin in pipe mode (curl|bash),
preventing bash from reading remaining script lines. Use per-command
redirect (< /dev/tty) on the install command only.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Sunrisepeak Sunrisepeak merged commit 2160e2e into main Mar 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant