Created
December 21, 2013 16:42
-
-
Save wopfel/8071781 to your computer and use it in GitHub Desktop.
Wait until a process ends (Linux, /proc filesystem, PID subdirectory, 14989 is the process ID in this example)
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
while [[ -d /proc/14989/ ]] ; do sleep 1 ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment