Replies: 1 comment
-
...Option b is pretty easy without support I guess, so this is mostly about whether you think it would be a useful "native" option to handle when using pty.Start(). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Wondering what you'd think about adding a capability to either a) run a goroutine that Wait()'s on the child process started by pty.Start() or b) adding an API that let's user get the child PID and do that themselves? It's possible to do this if you use pty.Open() and wire everything up yourself, but Start() is already doing most of that heavy lifting so it would be nice to easily handle the child dying.
Beta Was this translation helpful? Give feedback.
All reactions