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

**URL:** <https://discourse.julialang.org/t/ioerror-could-not-spawn-no-such-file-or-directory-enoent/72540>\
**Category:** General Usage\
**Created:** [December 3, 2021, 7:57pm UTC](https://discourse.julialang.org/t/ioerror-could-not-spawn-no-such-file-or-directory-enoent/72540 "2021-12-03T19:57:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ANDREA-TQ](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/andrea-tq/32/31417_2.png) [@ANDREA-TQ](https://discourse.julialang.org/u/ANDREA-TQ)\
**Post date:** [December 3, 2021, 7:57pm UTC](https://discourse.julialang.org/t/ioerror-could-not-spawn-no-such-file-or-directory-enoent/72540/1 "2021-12-03T19:57:59Z")

</div>

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?

 ![errore](https://global.discourse-cdn.com/julialang/original/3X/0/6/06b5a5661bfb5d9006cfed27cc64103f205da706.png)

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)

---

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [December 3, 2021, 8:27pm UTC](https://discourse.julialang.org/t/ioerror-could-not-spawn-no-such-file-or-directory-enoent/72540/2 "2021-12-03T20:27:05Z")

</div>

Welcome! Please take a look at [Fail to run shell command - #2 by stevengj](https://discourse.julialang.org/t/fail-to-run-shell-command/55543/2)

---

<div class="post-metadata">

**Author:** ![ANDREA-TQ](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/andrea-tq/32/31417_2.png) [@ANDREA-TQ](https://discourse.julialang.org/u/ANDREA-TQ)\
**Post date:** [December 4, 2021, 7:54am UTC](https://discourse.julialang.org/t/ioerror-could-not-spawn-no-such-file-or-directory-enoent/72540/3 "2021-12-04T07:54:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![le\_ackerman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/le_ackerman/32/38731_2.png) [@le\_ackerman](https://discourse.julialang.org/u/le_ackerman)\
**Post date:** [April 20, 2023, 7:30am UTC](https://discourse.julialang.org/t/ioerror-could-not-spawn-no-such-file-or-directory-enoent/72540/4 "2023-04-20T07:30:06Z")

</div>

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)
