Update index.js

wrap childProcess.spawn with`wich`