8000 change back to check_call · yonip/opencv-python@80a5e50 · GitHub
[go: up one dir, main page]

Skip to content

Commit 80a5e50

Browse files
committed
change back to check_call
1 parent b31049d commit 80a5e50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ def main():
110110
if (sys.platform == 'darwin' or sys.platform.startswith('linux')) and not build_headless:
111111
cmake_args.append("-DWITH_QT=4")
112112
# Apply Qt namespace patches to OpenCV GUI code
113-
subprocess.run("patch -p0 < patches/patch1.patch", shell=True, check=True)
114-
subprocess.run("patch -p0 < patches/patch2.patch", shell=True, check=True)
113+
subprocess.check_call("patch -p0 < patches/patch1.patch", shell=True)
114+
subprocess.check_call("patch -p0 < patches/patch2.patch", shell=True)
115115

116116
if build_headless:
117117
# it seems that cocoa cannot be disabled so on macOS the package is not truly headless

0 commit comments

Comments
 (0)
0