Skip to content

Commit

Permalink
Fix subprocess call.
Browse files Browse the repository at this point in the history
  • Loading branch information
pp-mo committed Jun 17, 2022
1 parent a80b6fb commit 2e71135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/iris/tests/stock/netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def ncgen_from_cdl(
call_args = [NCGEN_PATHSTR, "-k4", "-o", nc_path]
call_kwargs = dict(input=cdl_str, encoding="ascii")

subprocess.check_call(call_args, **call_kwargs)
subprocess.run(call_args, check=True, **call_kwargs)


def _file_from_cdl_template(
Expand Down

0 comments on commit 2e71135

Please sign in to comment.