Hi All,

I am having issues executing shell commands from within Julia (either in 
the REPL or via the iJulia notebook) on Windows 10.  I can run actual 
programs from within Julia, but all attempts at executing shell commands 
produce an error.

For instance, the example from the documentation:

julia> run(`echo hello`)

produces

julia> run(`echo hello`)
ERROR: could not spawn `echo hello`: no such file or directory (ENOENT)
 in _jl_spawn at process.jl:262

I get the same result using the semi-colon shortcut, both in the REPL and 
within iJulia.

However, I am able to call windows programs from within Julia successfully. 
 For instance, 

julia> run(`notepad`)

successfully spawns a notepad window.

Has anyone else run into this or similar issues on Win10?  Google searches 
have turned up empty.  Further, the issue appears to be exclusive to Julia; 
shell magic commands within iPython still execute correctly.


Thanks,

Jason Bates

Reply via email to