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

This is interesting,

I haven't go that far in the API but you can still do something like:

    CLI.enumerate(Seq("curl", "-s", "http://news.ycombinator.com/"))

    val curl = (url: String) => CLI.enumerate(Seq("curl", "-s", url))
This Seq synthax is provided by scala.sys.process, AFAIK, as a nice side-effect, it guarantees some safety of command parameters (avoiding injections).

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact