• Ben Hale's avatar
    Use exec when launching the JVM in CLI's shell script · 2a04d94c
    Ben Hale authored
    Previously, when the Spring Boot CLI ran the Java command line for an
    application it did a straight invocation which suppressed propagation of
    signals to the JVM in certain circumstances (e.g within Docker containers).
    
    This change prepends the command with exec which causes the Java process to
    replace the script process in a shell ensuring that signals are propagated to
    the Java process without suppression.
    
    See gh-17976
    Signed-off-by: 's avatarBen Hale <bhale@pivotal.io>
    2a04d94c
spring 3.11 KB