We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f021b5a commit b745f2cCopy full SHA for b745f2c
1 file changed
params.py
@@ -195,12 +195,14 @@ def recursive_dir_chmod(path, mode):
195
196
197
def run_api_parser(api_parser, dep_dir, version):
198
- env = os.environ.copy()
199
- env['version'] = version
200
with tempfile.NamedTemporaryFile() as json_file:
201
p = subprocess.Popen(
202
- [api_parser, dep_dir, json_file.name],
203
- env=env,
+ [
+ api_parser,
+ '-src', dep_dir,
+ '-out', json_file.name,
204
+ '-version', version,
205
+ ],
206
)
207
if p.wait() != 0:
208
raise Exception('failed to get dep info')
0 commit comments