Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2015
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.22 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. /path/to/proxy2ch &
  4. pid=$!
  5. open /Applications/Macaron.app
  6.  
  7. while :
  8. do
  9.         ps=`ps ax|grep [M]acaron`
  10.         if [ "$ps" == "" ]; then
  11.                 break;
  12.         fi
  13.         sleep 1
  14. done
  15.  
  16. kill $pid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement