Steps to reproduce
-
Download the spring-shell distribution
-
unpack the file and change into samples/helloworld
-
execute ‘gradle run’
Actual Result The application starts up but exits immediately without any error message.
Expected Result
-
execute ‘gradle insA’
-
execute ‘build/install/helloworld/bin/helloworld’
-
=> the application stays in the prompt loop.
Lucky Guess I suspect that Gradle keeps hold on some console I/O resource.
It would ideally cease to hold that resource before executing the run task and reestablish it after the application quits.
I tried to narrow down the issue further but had no luck so far.
Any ideas/workarounds?
Related dependencies ##### spring-shell
-
net.sourceforge.jline:jline:1.0.S2-B
-
org.fusesource.jansi:jansi:1.8
Gradle
- org.fusesource.jansi:jansi:1.2.1
Latest
-
jline:jline:2.9
-
org.fusesource.jansi:jansi:1.9