1.I am doing this on local machine
tmux new -s amazon
then I ssh in to the server into tmux window
shh user@amazon
then I detach it ctrl b-d
Into fabfile.py I am doing like this
local("tmux a -t amazon") #attaching detached session
local("./myscript") #problem here the tmux session pops on django runserver
#and waits for input
Problem : Tmux session pop up in Django dev server and doesnt run ./myscript line and waits forever. What I am doing wrong?
Note: ./myscript resides on remoteserver