def __str__(self):
    return textwrap.dedent('        Ran command: {command}\n        Exit code {error_code}\n        \n        Stdout:\n        {stdout}\n\n        Stderr:\n        {stderr}\n        ').format(command=pretty_print_command(self.command), error_code=self.error_code, stdout=self.stdout, stderr=self.stderr)
def __str__(self):
    return textwrap.dedent('        Ran command: {command}\n        Exit code {error_code}\n        \n        Stdout:\n        {stdout}\n\n        Stderr:\n        {stderr}\n        ').format(command=pretty_print_command(self.command), error_code=self.error_code, stdout=self.stdout, stderr=self.stderr)