Skip to content
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

tiltfile: add stdin_mode='pty' to local_resource() #6382

Merged
merged 1 commit into from
May 24, 2024
Merged

Conversation

nicks
Copy link
Member

@nicks nicks commented May 24, 2024

Allows users to attach a pty,
for interactive commands that try
to grab the "main" tty

fixes #6378

Signed-off-by: Nick Santos [email protected]

@@ -10,3 +17,275 @@ test("test", "echo hi")
`)
f.loadAssertWarnings(testDeprecationMsg)
}

func TestLocalResourceOnlyUpdateCmd(t *testing.T) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is just moving code around

Allows users to attach a pty,
for interactive commands that try
to grab the "main" tty

fixes #6378

Signed-off-by: Nick Santos <[email protected]>
@nicks nicks changed the title tiltfile: add stdin_mode='pty' to local_resouce() tiltfile: add stdin_mode='pty' to local_resource() May 24, 2024
@nicks nicks merged commit 20ab76b into master May 24, 2024
9 checks passed
@nicks nicks deleted the nicks/stdin2 branch May 24, 2024 19:34
nicks added a commit that referenced this pull request May 31, 2024
nicks added a commit that referenced this pull request May 31, 2024
nicks added a commit that referenced this pull request May 31, 2024
* Revert "tiltfile: add stdin_mode='pty' to local_resouce() (#6382)"

This reverts commit 20ab76b.

Signed-off-by: Nick Santos <[email protected]>

* Revert "cmd: add the ability to attach a pty to a local command (#6379)"

This reverts commit 69a74bb.

Signed-off-by: Nick Santos <[email protected]>

---------

Signed-off-by: Nick Santos <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tty in local_resource kills tilt
1 participant