-
Notifications
You must be signed in to change notification settings - Fork 18k
syscall: add mechanism to steal the controlling terminal from a different session group on Linux #20454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
proposed fix devimc@559e40c |
To @ianlancetaylor for decision. @devimc, we can't review code outside of Gerrit, which enforces that a CLA has been submitted. See https://golang.org/doc/contribute.html But you can wait until Ian decides whether this is something we want. |
@bradfitz great! thanks |
Being able to steal the controlling TTY makes sense. I think the only thing that really needs to be decided is whether we should always steal the TTY, or whether we should have a new field in |
I think we can't always pass |
As far as I can see in the Linux kernel sources, the argument to |
CL https://golang.org/cl/44343 mentions this issue. |
Hi @ianlancetaylor you're right, I sent a PR https://golang.org/cl/44343 |
What version of Go are you using (
go version
)?go version devel +5e79787 Mon May 22 13:44:12 2017 +0000 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
What did you expect to see?
A processes running using the assigned terminal
What did you see instead?
Solution
Allow spawned processes steal the terminal
The text was updated successfully, but these errors were encountered: