我想编写一个执行此操作的shell脚本:
在伪代码中,我想做什么:
tmux new -s my_session ruby run.rb # NOTE: I want this to run inside the my_session tmux session. tmux detach
我该怎么做呢?(我读的帖子越多,就会越混乱.)
ruby bash shell tmux
bash ×1
ruby ×1
shell ×1
tmux ×1