Closed jjYBdx4IL closed 2 years ago
The bug is in plexus-utils, which is used by many Maven plugins (including Surefire and the maven-compiler-plugin ‼). There's no reason that plugins each implement their own command-line handling, this should be fixed upstream.
CTRL-C now works properly on WIndows and Linux. I threw out the entire ancient plexus-utils command line handling für the Codeserver and replaced it with a quick and simple ProcessBuilder. It's not as colorful now and it doesn't get directed through a logger, but it also doesn't require a shutdown hook now (which wasn't working anyways on Windows).