You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Java: test crashes with OpenVINO 2019R1 on MacOSX #14353
Spawning children processes of processes restricted by System Integrity Protection, such as by launching a helper process in a bundle with NSTask or calling the exec(2) command, resets the Mach special ports of that child process. Any dynamic linker (dyld) environment variables, such as DYLD_LIBRARY_PATH, are purged when launching protected processes.
So Apple drops DYLD_ variables from launched shell (sh, bash, etc).
$ DYLD_LIBRARY_PATH=my_value sh -c 'export' | grep DYLD
... and nothing ...
OpenCV tests are launched using ant, which is a shell script which locate and run Java.
Activity
alalek commentedon Apr 17, 2019
This is Apple specific
bugbehavior.It is not related to Java or Ant tool directly, it is "System Integrity Protection".
So Apple drops
DYLD_variables from launched shell (sh, bash, etc).OpenCV tests are launched using
ant, which is a shell script which locate and run Java.