

def __init__(self, command, on_done, working_dir='', fallback_encoding='', **kwargs):
    threading.Thread.__init__(self)
    self.command = command
    self.on_done = on_done
    self.working_dir = working_dir
    if ('stdin' in kwargs):
        self.stdin = kwargs['stdin'].encode()
    else:
        self.stdin = None
    if ('stdout' in kwargs):
        self.stdout = kwargs['stdout']
    else:
        self.stdout = subprocess.PIPE
    self.fallback_encoding = fallback_encoding
    self.kwargs = kwargs

dataset/ETHPy150Open JT5D/Alfred-Popclip-Sublime/Sublime Text 2/sublime-github/lib/git.py CommandThread.__init__/original