| ▲ | mrstackdump 17 hours ago | |||||||||||||||||||||||||||||||
Maybe I'm not understanding it (totally possible!) but could Claude just do that by reading standard out and writing to standard in? | ||||||||||||||||||||||||||||||||
| ▲ | tptacek 16 hours ago | parent | next [-] | |||||||||||||||||||||||||||||||
I had a really hard time getting anything like that to work (you can't just read stdout and write stdin, because you're driving a terminal in raw mode), but it took like 3 sentences worth of Claude prompt to get Claude to use tmux to do this reliably. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | rsanheim 16 hours ago | parent | prev [-] | |||||||||||||||||||||||||||||||
Also many CLIs act differently when invoked connected to a terminal (TUI/interactive) vs not. So you’d run into issues there where Claude could only test the non-interactive things. | ||||||||||||||||||||||||||||||||