Julia supports Windows, which is not a posix platform. So while Julia uses
posix-inspired names in some places, that's not universally the case, and
they're often jargony and confusing if you're not a Unix user.
On Wednesday, September 14, 2016 at 1:30:25 PM UTC-7, Evan Fields wrote:
>
> Which can get gnarly on Windows, depending how you launched Julia. E.g.
> just launching from the Julia executable:
>
>
> shell> ls
> ERROR: could not spawn `ls`: no such file or directory (ENOENT)
> in _jl_spawn(::String, ::Array{String,1}, ::Ptr{Void}, ::Base.Process,
> ::RawFD, ::RawFD, ::RawFD) at .\process.jl:321
> in #414 at .\process.jl:478 [inlined]
> in setup_stdio(::Base.##414#415{Cmd,Ptr{Void},Base.Process},
> ::Tuple{RawFD,RawFD,RawFD}) at .\process.jl:466
> in #spawn#413(::Nullable{Base.ProcessChain}, ::Function, ::Cmd,
> ::Tuple{RawFD,RawFD,RawFD}, ::Bool, ::Bool) at .\process.jl:477
> in run(::Cmd) at .\process.jl:591
> in repl_cmd(::Cmd, ::Base.Terminals.TTYTerminal) at .\client.jl:91
>
> julia>
>
> (It works fine if launched from Git bash)
>