In the examples from the manual section “Running External Programs”, I can’t seem to get the examples to work on my machine…
cmd = `echo hello`
run(cmd)
Here is the error:
ERROR: IOError: could not spawn `echo hello`: no such file or directory (ENOENT)
Stacktrace:
[1] _spawn_primitive(::String, ::Cmd, ::Array{Any,1}) at .\process.jl:99
[2] #550 at .\process.jl:112 [inlined]
[3] setup_stdios(::Base.var"#550#551"{Cmd}, ::Array{Any,1}) at .\process.jl:196
[4] _spawn at .\process.jl:111 [inlined]
[5] run(::Cmd; wait::Bool) at .\process.jl:439
[6] run(::Cmd) at .\process.jl:438
[7] top-level scope at REPL[9]:1
What am I missing?