~salgado/linaro-image-tools/improve-cmd_runner

Viewing all changes in revision 187.

  • Committer: Guilherme Salgado
  • Date: 2010-12-09 19:17:14 UTC
  • Revision ID: salgado@canonical.com-20101209191714-agzjh3a1rnp2003m
Create a subprocess.Popen subclass which raises an error when the process exits with a non-zero return code.  This is useful in cases when cmd_runner can't be used but we still want to raise an error on non-zero exit.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: