- /opt/jumpscale7/lib/JumpScale/baselib/screen/Tmux.py
- Properties
Methods
def attachSession
arguments
- sessionname
- windowname
- user
def createSession
arguments
@param name is name of session
@screens is list with nr of screens required in session and their names (is
[$screenname,...])
def createWindow
arguments
def executeInScreen
arguments
- sessionname
- screenname
- cmd
- wait = 0
- cwd
- env
- user = 'root'
- tmuxuser
@param sessionname Name of the tmux session
@type sessionname str
@param screenname Name of the window in the session
@type screenname str
@param cmd command to execute
@type cmd str
@param wait time to wait for output
@type wait int
@param cwd workingdir for command only in new screen see newscr
@type cwd str
@param env environment variables for cmd onlt in new screen see newscr
@type env dict
def getPid
arguments
def getSessions
arguments
def getWindows
arguments
def killSession
arguments
def killSessions
arguments
def killWindow
arguments
def logWindow
arguments
- session
- name
- filename
- user
def windowExists
arguments