Guest User

Untitled

a guest
Jul 12th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. (while kill -0 $pid; do sleep 1; done) && echo "finished"
  2. #Replace $pid with the process id and echo "finished" with whatever you want to do when the process exited.
Add Comment
Please, Sign In to add comment