Forward SIGTERM on bin wrapper to child process
Forward SIGTERM on bin wrapper to child process

Killing the parent process leaves the phantomjs binary child process
orphaned, unless we forward the signal to the child as well.

This commit handles SIGTERM only. It might perhaps be an idea to do
the same or similar with SIGINT as well.

dtothefp/phantomjs,bitjson/slimerjs-edge,dugainet/phantomjs,M6Web/phantomjs2,elbenvenutti/phantomjs2,graingert/slimerjs,zeevl/phantomjs2,adborden/phantomjs,KnotchLabs/phantomjs2,egnerfl/phantomjs,seeq12/phantomjs2,CRHain88/phantomjs2,exchangegroup/phantomjs,noblesamurai/phantomjs2,xdissent/phantomjs,jonnolen/phantomjs,basicer/phantomjs2,Lochlan/phantomjs2,Houfeng/phantomjs,PaigeeWorld/phantomjs,trinketapp/phantomjs2,tsaikd/phantomjs,wjordan/phantomjs,gskachkov/phantomjs2,tildedave/phantomjs2,admetricks/phantomjs2,digabi/node-phantomjs,n9niwas/phantomjs,waalt/phantomjs,justhamade/phantomjs2