Last active
September 25, 2017 09:34
-
-
Save oyagci/11e3a3c36fda10540c0c1d4eb34807b3 to your computer and use it in GitHub Desktop.
How to check your leaks with a script.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while true | |
do | |
a=$(leaks 42sh > /tmp/leakout.txt) | |
wait $! | |
clear | |
cat /tmp/leakout.txt | |
sleep 0.5 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment