It would be good to know the output on Error parsing command output
. Otherwise test failures are meaningless: #30792 (comment)
Fix it by just printing the full CompletedProcess
object.
Also, use the modern subprocess.run
to simplify the code.
It would be good to know the output on Error parsing command output
. Otherwise test failures are meaningless: #30792 (comment)
Fix it by just printing the full CompletedProcess
object.
Also, use the modern subprocess.run
to simplify the code.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
For detailed information about the code coverage, see the test coverage report.
See the guideline for information on the review process.
Type | Reviewers |
---|---|
ACK | BrandonOdiwuor, laanwj |
Concept ACK | hebasto |
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
for reference, a CompletedProcess object is formatted like this:
0>>> print(subprocess.run(['/bin/ls'], capture_output=True, text=True))
1CompletedProcess(args=['/bin/ls'], returncode=0, stdout='...', stderr='')
This contains some useful information, so ACK fa43c4f93ca5b40734ec9b3ff91b74acf3ed7cf2