daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Feb 4th, 2014 40 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for sav in ~/.openttd/save/Sundingham*
  2. do
  3.         ~/svn.openttd.org/trunk/bin/openttd -g \"$sav\" &
  4.         PID=$!
  5.         #sleep 5
  6.         #xdotool windowactivate `xdotool search --class "openttd"` &&
  7.         #       xdotool key ctrl+s &&
  8.         #       xdotool key ctrl+q &&
  9.         #       xdotool key Return
  10.  
  11.         while kill -0 $PID; do sleep 1; done
  12. done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top