Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Working directory not set at kernel start #316

Closed
yha opened this issue Jun 23, 2019 · 1 comment
Closed

[BUG] Working directory not set at kernel start #316

yha opened this issue Jun 23, 2019 · 1 comment
Labels

Comments

@yha
Copy link
Contributor

yha commented Jun 23, 2019

Similar to #239.

Details

  • Atom version: 1.38.2
  • Julia version: 1.1.1
  • OS: Windows 10
  • Package versions:
    • Atom.jl: 0.8.7
    • julia-client: 0.8.9
    • ink: 0.10.10

Steps to reproduce

In a new script/cell:

println(pwd())
println(pwd())

execute cell (alt-enter) when no Julia kernel is running. First line shows atom's executable path. Only second line shows the first project's path.
It looks like it's actually the printing that triggers the path change, e.g.,

pwds = [(pwd()) for _=1:10]
foreach(println, pwds)
println(pwd())

Prints the atom's path 10 times, then the project's path. The path is also correctly set after a call to sleep or yield, but not after other long-running commands like using Plots.

@yha yha added the bug label Jun 23, 2019
@pfitzseb
Copy link
Member

pfitzseb commented Jul 9, 2019

Fixed with JunoLab/atom-julia-client@52f2e74.

@pfitzseb pfitzseb closed this as completed Jul 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants