-
Notifications
You must be signed in to change notification settings - Fork 280
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
Remove -x in python distutils shell script #755
Conversation
This prevents extraneous output in the installation step.
I'm not sure I'd call the outputs extraneous. That information is there so that you can see what exactly the build is running. There's no other way to get visibility into the internal state of this script unless it prints it out. This allows someone debugging the build to be able to reproduce it quite easily. Otherwise you'd only see the output of setup.py and never know what arguments or paths were passed to it when it was run. |
@tfoote then we should use Also, at least the first line or output is not very useful and honestly more confusing than helpful if you don't know where it is coming from: |
Using |
Ok, I added 8e2a948, but I'm still testing it in a bigger workspace now, and we should test it on Linux too. |
Seems to work for me on Linux and OS X. |
+1 |
+1 I can confirm that the new messages go to Since |
Remove -x in python distutils shell script
This prevents extraneous output in the installation step. According to the man page:
http://heirloom.sourceforge.net/sh/sh.1.html
This is the same as activating
BASH_XTRACEFD
(http://linux.die.net/man/1/sh). This is the type of output it prevents:The reason I noticed and tracked it down was because this is also output on stderr, which the
catkin_tools
command picked up on and reported as a warning (perhaps incorrectly).