How to execute echo $PATH from Julia

You need to invoke a shell that interprets the $ for you:

run(`bash -c "echo \$PATH"`)
5 Likes