mirror of https://github.com/apache/maven.git
[MNG-6353] Upgrade maven-shared-utils to 3.2.1
Add o.a.m.s.u.logging.MessageUtils.registerShutdownHook() to prevent ANSI from staying active when killing an active process
This commit is contained in:
parent
24b8820f08
commit
22f782aecd
|
@ -191,6 +191,7 @@ public class MavenCli
|
||||||
MavenCli cli = new MavenCli();
|
MavenCli cli = new MavenCli();
|
||||||
|
|
||||||
MessageUtils.systemInstall();
|
MessageUtils.systemInstall();
|
||||||
|
MessageUtils.registerShutdownHook();
|
||||||
int result = cli.doMain( new CliRequest( args, classWorld ) );
|
int result = cli.doMain( new CliRequest( args, classWorld ) );
|
||||||
MessageUtils.systemUninstall();
|
MessageUtils.systemUninstall();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue