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.
如何nw.exe从我的 JavaScript 代码中获取 node-webkit 中当前实例的 PID?
nw.exe
由于 nw 公开了除 DOM 之外的所有节点 api,因此您可以使用process.pid