Created
August 9, 2015 21:40
-
-
Save rakibulislam/59d8fa661fc527e1d75c to your computer and use it in GitHub Desktop.
Run a ruby script from a tmux session using shell script
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
#!/bin/bash | |
tmux new-session -d -s my_session_r 'ruby run.rb' | |
tmux detach -s my_session_r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment