From c7dd538a3a9d42ebc09beeb8cd1990660f2db8ee Mon Sep 17 00:00:00 2001 From: rakhov Date: Wed, 9 Jul 2025 21:54:40 +0200 Subject: [PATCH] Fix stdin redirection for interactive input Before this commit, the script couldn't handle interactive prompts properly. After this commit, stdin is redirected to /dev/tty to enable interactive input handling. --- scripts/remote.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/remote.sh b/scripts/remote.sh index a7b5635..98ed586 100755 --- a/scripts/remote.sh +++ b/scripts/remote.sh @@ -10,4 +10,5 @@ curl -sL https://github.com/datalek/boil/releases/latest/download/boil-node-22.t # Extracting tar -xzf archive.tgz -npx node dist/boil.cjs "$@" +# Redirect stdin to tty for interactive input +npx node dist/boil.cjs "$@" < /dev/tty