tmux-python / tmux-python/libtmux
passing -t to cmd() apis breaks running some progrmas
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 127
- Avg merge
- 2h 13m
- Merged PRs (30d)
- 1
Description
For all objects passing "-t" somewhere in the cmd overrides the object being referenced.
This breaks running commands that have -t in them (e.g. ssh).
pane.cmd('respawn-pane', 'ssh', '-t', 'user@host')
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the pane.cmd() API and reproduce the issue with the shown respawn-pane and ssh command. Trace how -t is interpreted when building the tmux command. Done means commands containing ssh's -t pass it through without changing the referenced object, with coverage for the reported example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100