mirror of https://github.com/sbt/sbt.git
Add instructions for exit and shutdown
This commit is contained in:
parent
44a98186b7
commit
314d9a295d
|
|
@ -672,8 +672,11 @@ class NetworkClient(
|
|||
catch { case _: InterruptedException => }
|
||||
if (exitClean.get) 0 else 1
|
||||
}
|
||||
if (interactive) block()
|
||||
else if (exit) 0
|
||||
console.appendLog(Level.Info, "terminate the server with `shutdown`")
|
||||
if (interactive) {
|
||||
console.appendLog(Level.Info, "disconnect from the server with `exit`")
|
||||
block()
|
||||
} else if (exit) 0
|
||||
else {
|
||||
batchMode.set(true)
|
||||
val res = batchExecute(userCommands.toList)
|
||||
|
|
|
|||
Loading…
Reference in New Issue