Not a windows user, just doing some tests on the platform – but isn’t this supposed to work?
shell> dir
ERROR: IOError: could not spawn `dir`: no such file or directory (ENOENT)
Stacktrace:
[1] _jl_spawn(::String, ::Array{String,1}, ::Cmd, ::Tuple{RawFD,RawFD,RawFD}) at .\process.jl:367
[2] (::getfield(Base, Symbol("##495#496")){Cmd})(::Tuple{RawFD,RawFD,RawFD}) at .\process.jl:509
[3] setup_stdio(::getfield(Base, Symbol("##495#496")){Cmd}, ::Tuple{RawFD,RawFD,RawFD}) at .\process.jl:490
[4] #_spawn#494(::Nothing, ::Function, ::Cmd, ::Tuple{RawFD,RawFD,RawFD}) at .\process.jl:508
[5] _spawn at .\process.jl:504 [inlined]
[6] #run#505(::Bool, ::Function, ::Cmd) at .\process.jl:652
[7] run at .\process.jl:651 [inlined]
[8] repl_cmd(::Cmd, ::REPL.Terminals.TTYTerminal) at .\client.jl:77
[9] top-level scope at none:0
Windows shell:
C:\Users\adrian>dir
Volume in drive C has no label.
Volume Serial Number is C662-906A
Directory of C:\Users\adrian
# more output here
julia> versioninfo()
Julia Version 1.0.0
Commit 5d4eaca0c9 (2018-08-08 20:58 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.0 (ORCJIT, skylake)