Skip to content

Commit 1737f67

Browse files
authored
Don't use --startup-file=yes (it is default anyways). (#963)
Pkg launches subprocesses with the startup file if you explicitly start julia with `--startup-file=yes`. Since it is default anyway it seems like this can be removed, fixes JuliaLang/Pkg.jl#1815.
1 parent 37406da commit 1737f67

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

deps/kspec.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ function installkernel(name::AbstractString, julia_options::AbstractString...;
9494
@info("Installing $name kernelspec in $juliakspec")
9595
rm(juliakspec, force=true, recursive=true)
9696
try
97-
kernelcmd_array = String[julia.exec..., "-i",
98-
"--startup-file=yes", "--color=yes"]
97+
kernelcmd_array = String[julia.exec..., "-i", "--color=yes"]
9998
append!(kernelcmd_array, julia_options)
10099
ijulia_dir = get(ENV, "IJULIA_DIR", dirname(@__DIR__)) # support non-Pkg IJulia installs
101100
append!(kernelcmd_array, [joinpath(ijulia_dir,"src","kernel.jl"), "{connection_file}"])

0 commit comments

Comments
 (0)