control-c
Catching Ctrl+C in Java
Is it possible开发者_开发知识库 to catch the Ctrl+C signal in a java command-line application? I\'d like to clean up some resources before terminating the program.You can attach a shutdown hook to the[详细]
2022-12-09 01:00 分类:问答