193
def __init__(self, command, working_dir=None, capture_stderr=True):
160
194
"""Changes into a specified directory, if provided, and executes a command.
161
195
Restores the old directory afterwards. Execution results are returned
162
196
via the following attributes: