remote control #7286
remote control
#7286
Replies: 1 comment 3 replies
-
launch --hold
and
send-key return
…On Sat, Mar 30, 2024 at 03:08:39PM -0700, Juan Pablo Stumpf wrote:
Hello,
i would like to start a new instance of kitty from a script, and then execute some commands on it. something like this (not working example)
```
kitty -o allow_remote_control=yes --listen-on unix:/tmp/socket
kitty @ --to unix:/tmp/socket launch --type tab --title "server" --cwd "~/test"
kitty @ --to unix:/tmp/socket send-text --match 'title:^server' start-server
kitty @ --to unix:/tmp/socket launch --type tab --title "editor" --cwd "~/test"
kitty @ --to unix:/tmp/socket send-text --match 'title:^editor' nvim .
```
but i'm not sure if i'm on the right track. It seems that all of the opened tabs will close as soon the command is finished. also i'm not able to send the enter key.
Any help on the remote control feature of kitty? the script would be in python, it that helps..
thanks
--
Reply to this email directly or view it on GitHub:
#7286
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
--
_____________________________________
Dr. Kovid Goyal
https://www.kovidgoyal.net
https://calibre-ebook.com
_____________________________________
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
juanolon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
i would like to start a new instance of kitty from a script, and then execute some commands on it. something like this (not working example)
but i'm not sure if i'm on the right track. It seems that all of the opened tabs will close as soon the command is finished. also i'm not able to send the enter key.
Any help on the remote control feature of kitty? the script would be in python, it that helps..
thanks
Beta Was this translation helpful? Give feedback.
All reactions