IOError: could not spawn `....`: no such file or directory (ENOENT)

Hi I’m new in the world of programming,
i’m trying to perform this exercise but it gives me this error could you help me please?

this is my Julia version
julia> versioninfo()
Julia Version 1.6.3
Commit ae8452a9e0 (2021-09-23 17:34 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core™ i3-10110U CPU @ 2.10GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, skylake)

Welcome! Please take a look at Fail to run shell command - #2 by stevengj

2 Likes

thanks a lot
I also have a problem with ls (list in windows) but i can’t find the right topic could you help me?
shell> ls
ERROR: IOError: could not spawn ls: no such file or directory (ENOENT)
Stacktrace:
[1] _spawn_primitive(file::String, cmd::Cmd, stdio::Vector{Any})
@ Base .\process.jl:99
[2] #637
@ .\process.jl:112 [inlined]
[3] setup_stdios(f::Base.var"#637#638"{Cmd}, stdios::Vector{Any})
@ Base .\process.jl:196
[4] _spawn
@ .\process.jl:111 [inlined]
[5] run(::Cmd; wait::Bool)
@ Base .\process.jl:439
[6] run
@ .\process.jl:438 [inlined]
[7] repl_cmd(cmd::Cmd, out::Base.TTY)
@ Base .\client.jl:69
[8] top-level scope
@ none:1

hi i am having the same problem in linux, it is throwing
IOError: could not spawn cd fa_files/: no such file or directory (ENOENT)