Lines Matching refs:subprocess
15 import subprocess
25 GIT = subprocess.check_output([WHICH, 'git']).splitlines()[0]
79 subprocess.check_call([GIT, 'clone', repo_url, dest_dir])
93 output = subprocess.check_output([GIT, 'stash'])
97 self._orig_branch = subprocess.check_output([
100 self._orig_branch = subprocess.check_output([
104 subprocess.check_call([GIT, 'fetch', 'origin'])
106 subprocess.check_call([GIT, 'checkout', '-b', self._branch,
111 subprocess.check_call([GIT, 'reset', '--hard', 'HEAD'])
112 subprocess.check_call([GIT, 'checkout', self._orig_branch])
114 subprocess.check_call([GIT, 'stash', 'pop'])
115 subprocess.check_call([GIT, 'branch', '-D', self._branch])
147 if not subprocess.call(['cmd.exe', '/c', 'rd', '/q', '/s', file_path]):