简体   繁体   中英

How to open a tmux session in a remote machine using SSHLibrary?

Failed to create a tmux session in a remote machine with SSHLibrary in robot framework.

Code tried -

Execute Command   tmux new -s session01

Output-

   20211213 12:33:37.257 :  INFO : Executing command 'tmux new -s session01'.
   20211213 12:33:37.348 :  INFO : Command exited with return code 1.

I was able to execute in the following way -

Execute Command   tmux new-session -d -s session_name 'Command To Execute'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM