[feature request] Stream output of script execution
Resolved 💬 5 comments Opened May 16, 2025 by yahgwai Closed Jan 5, 2026
Claude code cannot stream the output of scripts as they execute, instead it can only dump the result upon completion.
For example asking claude to execute the following script:
#!/bin/bash
echo "Starting script..."
sleep 3
echo "Hello again after 3 seconds"
sleep 3
echo "Hello again after 3 more seconds"%
Outputs all the messages together, and there is no way to get it to output 3 seconds apart.
This feature would be useful for long running scripts - eg monitoring progress during some data processing
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗