Run code which opens a PTY #307
-
Hi 👋 I'm trying to figure out how a user can ssh into a wish bubbletea interface and then drop into a pty via some code that runs something like "docker exec" for a container. I'm using the the Go API bindings, so I can't use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I noticed that the code I want to run has this kind of args available: args := foo.InstanceExecArgs{
Stdin: os.Stdin,
Stdout: os.Stdout,
Stderr: os.Stderr,
} However, I'm not sure if I can get access to that from the |
Beta Was this translation helpful? Give feedback.
Hey @decentral1se, you should actually pass
pty.Slave
to all Stdio.