Created
November 20, 2013 12:39
-
-
Save makevoid/7562513 to your computer and use it in GitHub Desktop.
gnome windows scripting (applescript like)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # execute gnome terminal running rack up | |
| gnome-terminal -e "bash -c \"bundle exec rackup -p 3000 -o 0.0.0.0; read line\"" --tab-with-profile=Default | |
| # closes and re executes rackup | |
| wmctrl -c -F rack; gnome-terminal -e "bash -c \"bundle exec rackup -p 3000 -o 0.0.0.0; read line\"" --tab-with-profile=Default -t "rack" | |
| # bind this command to a shortcut |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment