sbt/main
Dale Wijnand f4cc3d2938
Remove the "hit [ENTER] to switch to interactive mode" feature
In sbt 0.13.15, in addition to notifying the user about the existence of
sbt's shell, a feature was added to allow the user to switch to sbt's
shell - a more pro-active approach to just displaying a message.

Unfortunately sbt is often unintentionally invoked in shell scripts in
"interactive mode" when no interaction is expected by, for exmaple,
invoking `sbt package` instead of `sbt package < /dev/null`. In that
case hitting [ENTER] would silently trigger sbt to run its shell,
easily wrecking the script. In addition to that I was unhappy with the
implementation as it created a tight coupling between sbt's command
processing abstraction to sbt's shell command.

If you want to stay in sbt's shell after running a task like `package`
then invoke sbt like so:

    sbt package shell

Fixes #3091
2017-04-28 11:00:16 +01:00
..
actions/src Ignore ZipException in cache 2017-04-22 05:10:23 -04:00
command/src/main/scala/sbt Remove the "hit [ENTER] to switch to interactive mode" feature 2017-04-28 11:00:16 +01:00
settings/src Fix += interference with sbt-buildinfo 2017-04-22 22:59:33 -04:00
src Remove the "hit [ENTER] to switch to interactive mode" feature 2017-04-28 11:00:16 +01:00
NOTICE fix component name in main notice 2010-09-21 22:00:11 -04:00