我需要一种跨平台的方法来查找运行中的进程名称并获取其进程ID,然后使用boost的process库终止它。
Boost的process库要求必须知道进程ID (http://www.highscore.de/boost/process/reference/classboost_1_1process_1_1process.html)。
Boost的process库要求必须知道进程ID (http://www.highscore.de/boost/process/reference/classboost_1_1process_1_1process.html)。