SetRaw hangs when using exec.Command in linux
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- go
- Domain
- cli, operating-systems
Research direction
Start by reproducing the Linux hang with exec.Command and inspect SetRaw at the tcset call mentioned in the report. Determine why the file descriptor behaves differently outside a terminal; done means SetRaw no longer hangs under exec.Command while the existing terminal behavior remains intact.
Written by the indexing model from the issue text.
Description
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?
- Dominant language
- Go
- Stars
- 201
- Forks
- 60
- Avg merge
- 5d 21h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from containerd/console
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
containerd/console#91 · 4 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
containerd/console#87 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
containerd/console#79 · 2 comments · 3 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
containerd/console#71 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
containerd/console#58 · 1 comment ·
All issues in containerd/console
Similar issues
-
textual definition
Difficulty 1/5 Under an hour Newbie friendliness 90/100
geneontology/go-ontology#32653 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
needs design
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100