jshell-maven-plugin icon indicating copy to clipboard operation
jshell-maven-plugin copied to clipboard

Cannot quit jshell with /exit

Open thomasdarimont opened this issue 4 years ago • 0 comments

When I run mvn com.github.johnpoth:jshell-maven-plugin:1.2:run and try to exit jshell with /exit, jshell is immediately restarted. I'd expect it to quit correctly.

The only way to quit jshell seems to be hitting ctrl+c repeatedly.

jshell> /exit
|  Goodbye
[INFO] 
[INFO] ------------------< org.keycloak:keycloak-server-spi >------------------
[INFO] Building Keycloak Server SPI 12.0.0-SNAPSHOT                     [8/198]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- jshell-maven-plugin:1.2:run (default-cli) @ keycloak-server-spi ---
|  Welcome to JShell -- Version 11.0.8
|  For an introduction type: /help intro

jshell> 

jshell> 

jshell> /exit
|  Goodbye
[INFO] 
[INFO] --------------< org.keycloak:keycloak-server-spi-private >--------------
[INFO] Building Keycloak Server Private SPI 12.0.0-SNAPSHOT             [9/198]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- jshell-maven-plugin:1.2:run (default-cli) @ keycloak-server-spi-private ---
|  Welcome to JShell -- Version 11.0.8
|  For an introduction type: /help intro

jshell> /exit
|  Goodbye
[INFO] 
[INFO] -------------< org.keycloak:keycloak-kerberos-federation >--------------
[INFO] Building Keycloak Kerberos Federation 12.0.0-SNAPSHOT           [10/198]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- jshell-maven-plugin:1.2:run (default-cli) @ keycloak-kerberos-federation ---
|  Welcome to JShell -- Version 11.0.8
|  For an introduction type: /help intro

jshell> 

thomasdarimont avatar Oct 16 '20 07:10 thomasdarimont