Skip to content

Commit 45a77d6

Browse files
committed
fix subprocess call
1 parent c36d98e commit 45a77d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def main():
150150
if sys.platform.startswith('linux') and not x64:
151151
cmake_args.append("-DCMAKE_CXX_FLAGS=-U__STRICT_ANSI__")
152152
# patch openEXR when building on i386, see: https://github.com/openexr/openexr/issues/128
153-
subprocess.check_call(["patch", "-p0", "<", "patches/patchOpenEXR"])
153+
subprocess.check_call("patch -p0 < patches/patchOpenEXR", shell=True)
154154

155155

156156
if 'CMAKE_ARGS' in os.environ:

0 commit comments

Comments
 (0)