7

How can I run external shell commands once I am in sbt interactive shell?

That is, after I type sbt and see the prompt showing up, how can I do things like ls, or cd etc.? There should be a way to do this, correct?

Thank you.

  • possible duplicate of [How to execute a bash script as sbt task?](http://stackoverflow.com/questions/24996437/how-to-execute-a-bash-script-as-sbt-task) – mmmmmm Apr 20 '15 at 21:26

1 Answers1

5

On http://www.scala-sbt.org/release/docs/Community/Community-Plugins.html is a list of SBT plugins.

A plugin for your purpose can be https://github.com/steppenwells/sbt-sh .

Schleichardt
  • 7,502
  • 1
  • 27
  • 37