Skip to content

Conversation

@nightlark
Copy link
Contributor

@nightlark nightlark commented Jan 17, 2020

Not having a mode causes the message to print to stderr instead of stdout.

There are some setups where anything printed to stderr is considered an error for the purposes of determining if a subprocess worked or not. I recently encountered this problem where messages getting printed to stderr by CMake were causing commands to terminate (on CI builds) -- it seemed to be most problematic when using powershell to run a setuptools build (that compiles a native module using CMake).

@tschuchortdev
Copy link
Owner

Yes, that makes sense to me. Merging this will break backwards compatibility, but I doubt that anyone relies on this being printed to stderr and your use case is more common.

Thanks for the contribution!

@tschuchortdev tschuchortdev merged commit b64d274 into tschuchortdev:master Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants