-
Notifications
You must be signed in to change notification settings - Fork 18
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
Deal with color output from GCC #192
Comments
@tzwenn @thehappyhippo @werner-matthias Any opinions ? |
Add an option for environment variables in the executor.cfg to handle GCC colors (GCC_COLORS) and other stuff. The validator has to handle with output etc. Submission result output format should be specified in sent result (text/html/markdown etc.) to enable rendering in the web ui. The validator could set a environment variable for rendering format for the executor, or add a tag in the first line of output? |
@werner-matthias votes for rendering them in the "opensubmit-exec test" and web page outputs. |
Easy idea. Just pipe the output. |
Some GCC version produce coloured output on errors. This currently messes up the rendering in the frontend with funny characters.
Switching it of by default (see https://gcc.gnu.org/onlinedocs/gcc-5.2.0/gcc/Language-Independent-Options.html) only works if the compiler is modern enough.
The options seem to be:
The text was updated successfully, but these errors were encountered: