本人用的是win10系统,julia的versioninfo()如下:
julia> versioninfo()
Julia Version 0.6.4
Commit 9d11f62bcb* (2018-07-09 19:09 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell MAX_THREADS=16)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, skylake)
julia>
错误如下:
shell> ls
ERROR: could not spawn `ls`: no such file or directory (ENOENT)
Stacktrace:
[1] _jl_spawn(::String, ::Array{String,1}, ::Ptr{Void}, ::Base.Process, ::RawFD, ::RawFD, ::RawFD)
at .\process.jl:360
[2] #378 at .\process.jl:512 [inlined]
[3] setup_stdio(::Base.##378#379{Cmd}, ::Tuple{RawFD,RawFD,RawFD}) at .\process.jl:499
[4] #spawn#377(::Nullable{Base.ProcessChain}, ::Function, ::Cmd, ::Tuple{RawFD,RawFD,RawFD}) at .\p
rocess.jl:511
[5] run(::Cmd) at .\process.jl:650
[6] repl_cmd(::Cmd, ::Base.Terminals.TTYTerminal) at .\client.jl:111
因为在win下,我又想尝试一下dir,结果还是报错
shell> dir
ERROR: could not spawn `dir`: no such file or directory (ENOENT)
Stacktrace:
[1] _jl_spawn(::String, ::Array{String,1}, ::Ptr{Void}, ::Base.Process, ::RawFD, ::RawFD, ::RawFD)
at .\process.jl:360
[2] #378 at .\process.jl:512 [inlined]
[3] setup_stdio(::Base.##378#379{Cmd}, ::Tuple{RawFD,RawFD,RawFD}) at .\process.jl:499
[4] #spawn#377(::Nullable{Base.ProcessChain}, ::Function, ::Cmd, ::Tuple{RawFD,RawFD,RawFD}) at.\process.jl:511
[5] run(::Cmd) at .\process.jl:650
[6] repl_cmd(::Cmd, ::Base.Terminals.TTYTerminal) at .\client.jl:111