Hello,
I am trying to run a shell command through julia but am getting
errors. For example
julia> run(`source ./use_petsc.jl`)
ERROR: could not spawn `source ./use_petsc.jl`: no such file or directory
(ENOENT)
in _jl_spawn at process.jl:225
in spawn at process.jl:355
in spawn at process.jl:396
in run at ./process.jl:485
I tried breaking up the command into two interpolations as described here :
http://stackoverflow.com/questions/24682182/julia-unable-to-run-command-with-arguments-through-string-variable
, but that didn't work either.
I know there are other ways of setting environmental variables, but it is
important for the project I am working on to use shell scripts.
Jared Crean