Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 向正在运行的 JVM 发送信号
我有一个 scala 应用程序正在运行,我想向它发送一个“重新加载”信号,比如命令行中的 Ctrl-R(现在)。我如何为此注册一个处理程序?谢谢