npm install tree-kill
const child = require('child_process').exec('ffmpeg ....')
const treeKill =require('tree-kill')
treeKill(child.pid)
npm install tree-kill
const child = require('child_process').exec('ffmpeg ....')
const treeKill =require('tree-kill')
treeKill(child.pid)