butlerx / wetty

Terminal in browser over http/https. (Ajaxterm/Anyterm alternative, but much better)

Home Page:https://butlerx.github.io/wetty

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

is there any way to pass a shell command as part of the URL?

o-smirnov opened this issue · comments

Is there a way to pass in the shell command to be executed via the URL? E.g. something like:

http://localhost:3000/wetty?command=tmux%20attach%20foo

My example use case is, I have a number of tmux sessions on the host, and I'd like to form up a set of links, where each link opens a wetty page and attaches to the appropriate tmux session.

I've looked the --command flag, but that seems to force a single command for every wetty connection.

Stale issue message