Allow retrieving stderr output from subprocesses

Review Request #7204 — Created April 14, 2015 and submitted — Latest diff uploaded

Information

RBTools
release-0.7.x
4d52391...

Reviewers

The rbtools.utils.process.execute method now has a parameter that
allows retrieving the standard error output of a process.

Ran unit tests.

Manually tested the all combinations of the following parameters:

  • with_errors;
  • return_errors;
  • return_error_code;
  • split_lines;
  • ignore_errors; and
  • none_on_ignored_error.

The function returned the correct values in each case.

Diff Revision 2

This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.

orig
1
2
3
rbtools/utils/process.py
Loading...