Skip to content

Commit 26c79a6

Browse files
committed
Redirect stdin from /dev/null in run_step to prevent commands from consuming input
- looks like the installation script is broken ├── install.ps1 └── install.sh
1 parent a319781 commit 26c79a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎install.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ run_step() {
131131
printf " %s..." "$msg"
132132
start_spinner &
133133
SPINNER_PID=$!
134-
if "$@" > /dev/null 2>&1; then
134+
if "$@" > /dev/null 2>&1 < /dev/null; then
135135
stop_spinner 0
136136
else
137137
stop_spinner 1

0 commit comments

Comments
 (0)