Closed stevengj closed 4 years ago
_set_conda_env should preserve any existing environment in the passed cmd object. (This is so that we can use it from IJulia to get the right environment for invoking jupyter.)
_set_conda_env
cmd
jupyter
Also works around JuliaLang/julia#29334 for julia < 1.2
No, this doesn't work because cmd.env is not a dictionary.
cmd.env
I used withenv instead in JuliaLang/IJulia.jl#900
withenv
_set_conda_env
should preserve any existing environment in the passedcmd
object. (This is so that we can use it from IJulia to get the right environment for invokingjupyter
.)Also works around JuliaLang/julia#29334 for julia < 1.2