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

feat(grader): redirect solution's stderr to file during communication with communicator #502

Merged
merged 1 commit into from
Aug 26, 2023

Conversation

fushar
Copy link
Member

@fushar fushar commented Aug 26, 2023

By default, stderr is not buffered. When the solution writes to the unbuffered stderr, it sometimes interferes with the interaction.

We redirect the stderr to a file instead so that it is buffered.

Before

In such case, it could make the grader (even the sandbox) get stuck.

After

It won't affect the grading anymore.

@fushar fushar merged commit d62304f into master Aug 26, 2023
8 checks passed
@fushar fushar deleted the interactive-cerr branch August 26, 2023 15:53
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.

1 participant