I would like to run echo $PATH
bash command, see the result and optionally capture it in a string or array of strings. I started with:
julia> run(`echo $PATH`)
ERROR: UndefVarError: PATH not defined
julia> run(`echo \$PATH`)
$PATH
which doesn’t work.