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.
我想在运行时停止一个进程,将其状态保存在某处,然后我想重新启动它,我可以使用 ProcessBuilder 执行此操作,以某种方式保存环境变量,并将其保存在某处并稍后使用吗?