Skip to content

Commit 530f8e8

Browse files
committed
scripts: Use check_call instead of check_output in Windows script
Work around error: [WinError 5] Access is denied: a known issue with Python on Windows: https://stackoverflow.com/questions/26091530/permissionerror-winerror-5-access-is-denied-python-using-moviepy-to-write-gif occuring in the ITKTotalVariation filter.
1 parent 7538eb8 commit 530f8e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/windows_build_module_wheels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def build_wheels(py_envs=DEFAULT_PY_ENVS):
5454
"-DPYTHON_LIBRARY:FILEPATH=%s" % python_library
5555
])
5656
# Cleanup
57-
check_call([python_executable, "setup.py", "clean"])
57+
check_output([python_executable, "setup.py", "clean"])
5858

5959
if __name__ == '__main__':
6060
build_wheels()

0 commit comments

Comments
 (0)