You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I've recently noticed some unexpected behaviour when running check50_.api.run on some command that outputs both to stdout (which I want as string) and stderr (which I want to ignore). I get both.
I am running this command:
java -jar /home/pazz/.local/lib/python3.9/site-packages/check50_checkstyle/lib/checkstyle-8.39-all.jar -c naming-conventions.xml -f xml *.java
where the output on stdout is some XML report that I parse:
A hotfix for me is to append " 2>/dev/null" to the command, but this is obviously ugly and may only work as long as check50 uses a shell to interpret these commands.
Question/feature request: can we have a parameter to _api.run that allows to supress stdout?
The text was updated successfully, but these errors were encountered:
Hi!
I've recently noticed some unexpected behaviour when running
check50_.api.run
on some command that outputs both to stdout (which I want as string) and stderr (which I want to ignore). I get both.I am running this command:
where the output on stdout is some XML report that I parse:
plus a summary (which I cannot suppress)
When I run this using the check50 API i get the concatenation as sole string result:
A hotfix for me is to append
" 2>/dev/null"
to the command, but this is obviously ugly and may only work as long as check50 uses a shell to interpret these commands.Question/feature request: can we have a parameter to
_api.run
that allows to supress stdout?The text was updated successfully, but these errors were encountered: