Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

SetRaw hangs when using exec.Command in linux

Open
#82 0 comments 0 reactions 0 assignees View on GitHub

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

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from containerd/console

All issues in containerd/console

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.