Julia is run in a cygwin window. It is
julia> versioninfo()
Julia Version 1.3.0-rc4.1
Commit 8c4656b97a (2019-10-15 14:08 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-4650U CPU @ 1.70GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, haswell)
Consider the following. Using the Julia function to change into a folder doesn’t work. The shell-mode CD doesn’t work either. The shell-mode listing of the folder works. Using a relative path works.
julia> cd("/cygdrive/c/Users/PK/Documents/work/advanced-finite-element-analysis-of-solids")
ERROR: IOError: chdir /cygdrive/c/Users/PK/Documents/work/advanced-finite-element-analysis-of-solids: no such file or directory (ENOENT)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] cd(::String) at .\file.jl:84
[3] top-level scope at REPL[1]:1
shell> cd /cygdrive/c/Users/PK/Documents/work/advanced-finite-element-analysis-of-solids
ERROR: IOError: chdir /cygdrive/c/Users/PK/Documents/work/advanced-finite-element-analysis-of-solids: no such file or directory (ENOENT)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] cd(::String) at .\file.jl:84
[3] repl_cmd(::Cmd, ::REPL.Terminals.TTYTerminal) at .\client.jl:61
[4] top-level scope at REPL[1]:0
shell> ls /cygdrive/c/Users/PK/Documents/work/advanced-finite-element-analysis-of-solids
README.md thread_buffers.jl thread_buffers.jl~
shell> pwd
/cygdrive/c/Users/PK/Documents/work
julia> cd("./advanced-finite-element-analysis-of-solids\\")
shell> pwd
/cygdrive/c/Users/PK/Documents/work/advanced-finite-element-analysis-of-solids
julia>
Where does this come from, and how to fix it?