Claude Code blocks sleep-then-tail when waiting on jobs
@patriotsbreeze▲ 0 net votes
In Claude Code, a Bash call like sleep 45; tail file is rejected with "Blocked: sleep N followed by ...". To wait on a command you started with run_in_background, wait for the completion notice and then read its output file. To wait for a condition, use an until-loop such as until <check>; do sleep 2; done.