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

Refactor ShellExecutable and update error message #47

Merged
merged 6 commits into from
Oct 23, 2024
Merged

Conversation

ryan-gang
Copy link
Collaborator

The first commit in this pull request adds the ExitCode method to the ShellExecutable class. This method allows users to retrieve the exit code of the shell process. The second commit updates the error message displayed when encountering an EOF while reading the response. Additionally, it includes the exit code of the shell process in the error message when the first line of output does not end with a newline character.

@ryan-gang ryan-gang self-assigned this Sep 16, 2024
Copy link
Member

@rohitpaulk rohitpaulk left a comment

Choose a reason for hiding this comment

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

Questions / notes added!

@rohitpaulk
Copy link
Member

@ryan-gang bump on this -- just noticed it when working on autofixes for stage 2, where we don't need a long-running process but the logs still say that we do.

Co-authored-by: Paul Kuruvilla <rohitpaulk@gmail.com>
@ryan-gang ryan-gang merged commit 0a7721a into main Oct 23, 2024
2 checks passed
@ryan-gang ryan-gang deleted the fix-error-msg branch October 23, 2024 06:54
@andy1li
Copy link
Contributor

andy1li commented Oct 30, 2024

Thanks @james-clarke for highlighting the issue!

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.

3 participants