homely icon indicating copy to clipboard operation
homely copied to clipboard

system.execute(): allow capture of stdout/stderr

Open phodge opened this issue 7 years ago • 0 comments

This function should support stdout=True/stderr=True and return the streams as strings in the return value. The underlying run() function already supports this so it should be easy to do.

  • [ ] Make stdout=True/stderr=True work
  • [ ] also return the exitcode
  • [ ] Add tests
  • [ ] Update documentation

phodge avatar Mar 30 '17 07:03 phodge