def run(<EOL>self,<EOL>cmd,<EOL>cwd=None,<EOL>check_returncode=True,<EOL>log_in_real_time=None,<EOL>*args,<EOL>**kwargs<EOL>):
if cwd is None:<EOL><INDENT>cwd = getattr(self, '<STR_LIT:path>', None)<EOL><DEDENT>cmd = [self.bin_name] + cmd<EOL>return run(<EOL>cmd,<EOL>callback=(<EOL>self.progress_callback if callable(self.progress_callback) else None<EOL>),<EOL>check_returncode=check_returncode,<EOL>log_in_real_time=log_in_real_time or self.log_in_real_time,<EOL>cwd=cwd,<EOL>)<EOL>
Return combined stderr/stdout from a command.

        This method will also prefix the VCS command bin_name. By default runs
        using the cwd :attr:`~.path` of the repo.

        :param cwd: dir command is run from, defaults :attr:`~.path`.
        :type cwd: str

        :param check_returncode: Indicate whether a :exc:`~exc.CommandError`
            should be raised if return code is different from 0.
        :type check_returncode: :class:`bool`

        :returns: combined stdout/stderr in a big string, newlines retained
        :rtype: str