Lines Matching refs:proc
33 proc = subprocess.Popen(['svn', 'info'],
41 if not proc:
45 for line in proc.stdout:
79 proc = subprocess.Popen(command,
83 return proc
97 proc = RunGitCommand(directory, ['rev-parse', 'HEAD'])
98 if proc:
99 output = proc.communicate()[0].strip()
100 if proc.returncode == 0 and output:
117 proc = RunGitCommand(directory, ['config', '--get-regexp', '^svn'])
118 if proc:
119 return (proc.wait() == 0)
133 proc = RunGitCommand(directory, ['svn', 'info', '--url'])
134 if proc:
135 output = proc.communicate()[0].strip()
136 if proc.returncode == 0:
154 proc = RunGitCommand(directory, git_command)
155 if proc:
156 output = proc.communicate()[0].strip()
157 if proc.returncode == 0:
176 proc = RunGitCommand(directory, ['log', '-' + str(depth)])
177 if proc:
178 for line in proc.stdout:
183 proc.stdout.close() # Cut pipe for fast exit.