mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Use watch
to keepalive stdout while installing.
This commit is contained in:
parent
88ce2103f5
commit
32a1b4124c
@ -68,7 +68,7 @@ watch() {
|
|||||||
$@ &
|
$@ &
|
||||||
local JOB
|
local JOB
|
||||||
JOB=$!
|
JOB=$!
|
||||||
while true; do sleep 15; echo '* ping *'; done &
|
while true; do sleep 15; >&2 echo '* ping *'; done &
|
||||||
wait $JOB;
|
wait $JOB;
|
||||||
local EXIT_CODE
|
local EXIT_CODE
|
||||||
EXIT_CODE=$?
|
EXIT_CODE=$?
|
||||||
|
Loading…
Reference in New Issue
Block a user