Use the Process library , which was part of SBT but is now separate from it. You can find it here in the Scala Tools repository.
However, it can be simple:
import Process._
"find project -name *.jar" ! log
Edit
As for Scala 2.9.0, this is available in the standard library under scala.sys.process. Instead of importing Process._you should import the scala.sys.process._package object.
source
share