如何在Node Webkit中使用相对path

我不能使用相对path: gui.Shell.openItem(); ,这里是代码:

 var gui = require('nw.gui'); gui.Shell.openItem('setup/BitTorrent.exe'); 

 var path = require('path'); var absolutePath = path.join(process.cwd(), 'setup/BitTorrent.exe');