+ cwd=None, expect=(0,), unicode_output=False, encoding=None):
+ """Invoke an external program and return the results
+
+ ``expect`` should be a tuple of allowed exit codes.
+
+ When ``unicode_output`` is ``True``, convert stdout and stdin
+ strings to unicode before returing them.