containerd/console

SetRaw hangs when using exec.Command in linux

Opened this issue · 0 comments

I am running a binary using exec.Command which calls SetRaw which is hanging on tcset(m.f.Fd(), &rawState).

When I run my binary in my terminal (not using exec.Command) SetRaw does not hang and things work as expected.

Any thoughts on how to fix this so that I can use exec.Command?