Fix minor spelling errors
Stuart Prescott authored 1 year, 7 months ago
Stefano Rivera committed 1 year, 7 months ago
124 | 124 |
|
125 | 125 |
@memoize
|
126 | 126 |
def load(impl):
|
127 | |
"""Load iformation about installed Python distributions.
|
|
127 |
"""Load information about installed Python distributions.
|
128 | 128 |
|
129 | 129 |
:param impl: interpreter implementation, f.e. cpython2, cpython3, pypy
|
130 | 130 |
:type impl: str
|
204 | 204 |
|
205 | 205 |
|
206 | 206 |
def execute(command, cwd=None, env=None, log_output=None, shell=True):
|
207 | |
"""Execute external shell commad.
|
208 | |
|
209 | |
:param cdw: currennt working directory
|
|
207 |
"""Execute external shell command.
|
|
208 |
|
|
209 |
:param cdw: current working directory
|
210 | 210 |
:param env: environment
|
211 | 211 |
:param log_output:
|
212 | 212 |
* opened log file or path to this file, or
|
213 | 213 |
* None if output should be included in the returned dict, or
|
214 | |
* False if output should be redirectored to stdout/stderr
|
|
214 |
* False if output should be redirected to stdout/stderr
|
215 | 215 |
"""
|
216 | 216 |
args = {'shell': shell, 'cwd': cwd, 'env': env}
|
217 | 217 |
close = False
|