[feature request] Stream output of script execution

Status Closed — not planned
Maintainer reply None cached
Activity 5 comments · opened May 16, 2025 · 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

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗