示例#1
0
    def adjust_cmd(self, cmd, workdir=os.curdir):
        """
        :param cmd: Command string
        :param workdir: Working directory in which command runs

        :return: A tuple of (command_string, workdir)
        """
        return SH.adjust_cmd(cmd, self.user, self.name, workdir)