Skip to content

Commit 291768c

Browse files
committed
fix subprocess call
1 parent 510a5a4 commit 291768c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

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

152152

153153
if 'CMAKE_ARGS' in os.environ:

0 commit comments

Comments
 (0)