Skip to content
This repository was archived by the owner on Aug 16, 2023. It is now read-only.

Commit 06242a1

Browse files
authored
Merge pull request #195 from fingolfin/mh/fix-isolated-dlopen
Fix isolated dlopen
2 parents 1b8031a + 3847706 commit 06242a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Products.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ function locate(lp::LibraryProduct; verbose::Bool = false,
166166
if isolate
167167
# Isolated dlopen is a lot slower, but safer
168168
dl_esc_path = replace(dl_path, "\\"=>"\\\\")
169-
if success(`$(Base.julia_cmd()) -e "import Libdl; Libdl.dlopen(\"$(dl_esc_path)\")"`)
169+
if success(`$(Base.julia_cmd()) --startup-file=no -e "import Libdl; Libdl.dlopen(\"$(dl_esc_path)\")"`)
170170
return dl_path
171171
end
172172
else

0 commit comments

Comments
 (0)