Hacker News new | past | comments | ask | show | jobs | submit login

That just echoes "hello | sort", the backtick execution in Julia is only for single commands. For pipelines, there's the `pipeline` function, like so:

      run(pipeline(`echo hello`, `sort`))



Ah, yeah, I had misread the docs there. Though I imagine it creates that unexpected for beginner's thing where `ls | sort` comes back with "no such file |" or similar. Basically, I'm saying there is a place for an interface that does pass a single string to the shell, and an interface where you specify args explicitly.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: