Scala exec FAQ: How do I execute external system commands in Scala? When it comes to executing external system commands, Scala is a dramatic improvement over Java. The operators that Scala makes available are much more like Perl or Ruby, and the operators themselves are consistent with traditional shell commands, and are therefore easy to remember. Let's take a look at a few examples. Executing sy