Commit d4439a0
committed
docs: add -s -- flags to curl|bash install command to prevent stdin consumption
Fixes #73814
The install.sh script uses interactive prompts (via gum) that consume stdin.
When the script is piped via 'curl | bash', stdin is occupied by the script
stream, causing the prompts to consume portions of the script itself,
resulting in truncated function names and indefinite hangs.
Adding '-s --' flags prevents the bash subshell from allowing stdin to
reach the script's interactive prompts. This is a standard pattern for
piped installation scripts.1 parent 3120401 commit d4439a0
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
0 commit comments