Node.js 节点webkit应用程序的主要流程是哪一个?

Node.js 节点webkit应用程序的主要流程是哪一个?,node.js,node-webkit,Node.js,Node Webkit,我编写了一个节点webkit应用程序,它不创建子流程。然后我运行了ps,但发现了三个节点webkit进程。我想知道哪一个是我的应用程序,另外两个进程在做什么?我正在使用OSX10.10 $ ps aux | grep fbt laike9m 11622 111.1

我编写了一个节点webkit应用程序,它不创建子流程。然后我运行了
ps
,但发现了三个节点webkit进程。我想知道哪一个是我的应用程序,另外两个进程在做什么?我正在使用OSX10.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的多进程体系结构:


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

Thx。你能指出哪一个是我的应用程序的流程吗?我指的是你提到的“渲染器进程”。那么
--type=renderer
进程就是我要找的吗?