console icon indicating copy to clipboard operation
console copied to clipboard

SetRaw hangs when using exec.Command in linux

Open kalensk opened this issue 2 years ago • 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?

kalensk avatar Oct 28 '23 01:10 kalensk