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

add stdbuf-like capabilities to dcc to assist testing student code #57

Open
andrew-taylor opened this issue Nov 12, 2019 · 2 comments
Open

Comments

@andrew-taylor
Copy link
Collaborator

No description provided.

@Dylan-Brotherston
Copy link
Contributor

stdbuf(1) uses LD_PRELOAD, this can conflict with tools like valgrind and only libraries that check for this modification will be affected. Using a set of PTYs to trick isatty(3) should have the same effect and be more portable to other languages/libraries.

@Dylan-Brotherston
Copy link
Contributor

I am thinking this should be implemented in autotest, not dcc, as this is expected/standard behaviour.
Autotest shouldn't be giving programs any idea they aren't being run directly.

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

No branches or pull requests

2 participants