steps
Throw exception in a build file, like sbt/sbt-launcher-package.
problem
It would prompt for input, which could hang in the background.
expectation
When there is no associated console, we should just fail.
notes
This came up during the sbt/sbt-launcher-package testing, but I am not fully sure if this is a general case for normal builds.