Hacker News new | ask | show | jobs
Schale: a subprocess interface for Scala
1 points by howardg 4699 days ago
Hello Scala Users!

Let me present to you a project I have been working on recently: Schale is a subprocess interface for Scala. Make all your system programs easily available to Scala, call those programs and interact with their input and output!

Subprocess management was traditionally carried out by using `Runtime.getRuntime().exec` series of calls. Although JDK introduced `ProcessBuilder` later on and Scala has its own sub process API, but managing process running environment and IO interactivity could still be cumbersome.

Schale takes advantage of advanced features and syntactic sugar offered by Scala, and brings to you:

Easy process creation Background process management Simplified process input/output interface Advanced, interactive, non-blocking process IO Hierarchical process environment (variables, working directory) management

Project repository: https://github.com/HouzuoGuo/schale

Please share your feedback!