a guest Jul 12th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- (while kill -0 $pid; do sleep 1; done) && echo "finished"
- #Replace $pid with the process id and echo "finished" with whatever you want to do when the process exited.
RAW Paste Data