fix: redirect stdin from /dev/tty for curl|sh installs #3
Reference in New Issue
Block a user
Delete Branch "fix/curl-pipe-stdin"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When running via curl URL | sh, stdin is the curl pipe, not the terminal. Interactive prompts exit immediately. This redirects stdin from /dev/tty when available and falls back to --non-interactive when no TTY exists.