Skip to content
This repository was archived by the owner on Apr 3, 2021. It is now read-only.

Deactivating playground throws error if last command returned non-zero #58

Open
christopher-dG opened this issue Oct 11, 2017 · 0 comments
Labels

Comments

@christopher-dG
Copy link
Contributor

[ ~ ] playground activate --name lorenzoland ~/.playground/lorenzoland
[ ~ ] true
[ ~ ]  # Deactivate here
[ ~ ] playground activate --name lorenzoland ~/.playground/lorenzoland
[ ~ ] false
[ ~ ]  # Deactivate here
ERROR: LoadError: failed process: Process(`/usr/local/bin/zsh -c 'source /Users/degraafc/.playground/lorenzoland/zshrc; /usr/local/bin/zsh'`, ProcessExited(1)) [1]
Stacktrace:
 [1] pipeline_error(::Base.Process) at ./process.jl:682
 [2] run(::Cmd) at ./process.jl:651
 [3] runshell(::String) at /Users/degraafc/.julia/v0.6/Playground/src/shell.jl:31
 [4] withenv(::Playground.##16#17{String}, ::Playground.Environment) at /Users/degraafc/.julia/v0.6/Playground/src/env.jl:167
 [5] #activate#15(::Bool, ::Function, ::Playground.Environment) at /Users/degraafc/.julia/v0.6/Playground/src/activate.jl:22
 [6] (::Playground.#kw##activate)(::Array{Any,1}, ::Playground.#activate, ::Playground.Environment) at ./<missing>:0
 [7] main(::Array{String,1}) at /Users/degraafc/.julia/v0.6/Playground/src/Playground.jl:86
 [8] include_from_node1(::String) at ./loading.jl:569
 [9] include(::String) at ./sysimg.jl:14
 [10] process_options(::Base.JLOptions) at ./client.jl:305
 [11] _start() at ./client.jl:371
while loading /Users/degraafc/.playground/bin/playground, in expression starting on line 4
[ ~ ]

On zsh 5.3.1, MacOS.

@rofinn rofinn added the bug label Oct 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants