Advertisement
Guest User

Untitled

a guest
Jan 20th, 2019
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.40 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. osascript -e 'tell application "Terminal" to do script "go run master/master.go"'
  4.  
  5. sleep 2
  6.  
  7. for i in 1 2 3
  8. do
  9.     osascript -e 'tell application "Terminal" to do script "go run secondLevelSlave/secondLevelSlave.go -slave=:"2000${i}"'
  10.  
  11. done
  12.  
  13. sleep 2
  14. for i in 1 2 3
  15. do
  16.     osascript -e 'tell application "Terminal" to do script "go run slave/slave.go -slave=:"1000${i}"'
  17. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement