node-webkit app的主进程是哪个?

Which one is the main process of node-webkit app?

我写了一个不创建子进程的 node-webkit 应用程序。然后我运行ps,却发现了三个node-webkit进程。我想知道我的应用程序是哪个,另外两个进程在做什么?我正在使用 OSX 10.10.

$ ps aux | grep fbt                                                                                                            
laike9m         11622 111.1  1.6  3766608 272416   ??  R    10:37上午   0:09.52 /Applications/fbtmac.app/Contents/Frameworks/node-webkit Helper.app/Contents/MacOS/node-webkit Helper --type=renderer --no-sandbox --lang=zh-CN --enable-threaded-compositing --nodejs --working-directory=/Applications/fbtmac.app/Contents/Resources/app.nw --node-main=index.js --child-clean-exit --enable-threaded-compositing --disable-accelerated-video-decode --enable-software-compositing --channel=11619.1.128080293  
laike9m         11621   4.2  0.5  2800664  90112   ??  S    10:37上午   0:00.97 /Applications/fbtmac.app/Contents/Frameworks/node-webkit Helper.app/Contents/MacOS/node-webkit Helper --type=gpu-process --channel=11619.0.1688422656 --no-sandbox --supports-dual-gpus=false --gpu-driver-bug-workarounds=10,17,21,23,26,36,42 --disable-accelerated-video-decode --gpu-vendor-id=0x8086 --gpu-device-id=0x0d26 --gpu-driver-vendor --gpu-driver-version
laike9m         11619   3.3  0.2  3023464  40944   ??  U    10:37上午   0:01.62 /Applications/fbtmac.app/Contents/MacOS/node-webkit

NW继承Chromium多进程架构:https://www.chromium.org/developers/design-documents/multi-process-architecture

Node.js 与渲染器进程中的 DOM(Web 引擎)在同一线程中运行