From a58b1ebce0ffdbff7378e0a240092bb7d00b43c0 Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Sat, 22 Jul 2017 03:35:42 -0400 Subject: [PATCH] Keep ConsoleChannel open Fixes #3282 For now, don't try to shutdown ConsoleChannel while the network is processing the command in the background. --- main-command/src/main/scala/sbt/internal/ConsoleChannel.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main-command/src/main/scala/sbt/internal/ConsoleChannel.scala b/main-command/src/main/scala/sbt/internal/ConsoleChannel.scala index b4a32270c..6b6078ff9 100644 --- a/main-command/src/main/scala/sbt/internal/ConsoleChannel.scala +++ b/main-command/src/main/scala/sbt/internal/ConsoleChannel.scala @@ -48,7 +48,9 @@ private[sbt] final class ConsoleChannel(val name: String) extends CommandChannel case Some(src) if src.channelName != name => askUserThread match { case Some(x) => - shutdown() + // keep listening while network-origin command is running + // make sure to test Windows and Cygwin, if you uncomment + // shutdown() case _ => } case _ =>