Skip to content

Instantly share code, notes, and snippets.

@jgleonard
Last active January 4, 2022 21:24
Wrapper script to ensure output during long-running command
#!/bin/bash
while true; do /bin/echo -n .; sleep 30; done &
eval $*
STATUS=$?
kill $!
exit $STATUS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment