function killPosix() {
  getDescendentProcessInfo(this.pid, (err, descendent) => {
    if (err) {
      return
    }

    descendent.forEach(({PID: pid}) => {
      try {
        process.kill(pid)
      } catch (_err) {
        // ignore.
      }
    })
  })
}
function killPosix() {
  getDescendentProcessInfo(this.pid, (err, descendent) => {
    if (err) {
      return
    }

    descendent.forEach(({PID: pid}) => {
      try {
        process.kill(pid)
      } catch (_err) {
        
      }
    })
  })
}
function killPosix ( ) { getDescendentProcessInfo ( this . pid , ( err , descendent ) => { if ( err ) { return } descendent . forEach ( ( { PID : pid } ) => { try { process . kill ( pid ) } catch ( _err ) { // ignore. } } ) } ) }
Kills the new process and its sub processes.
@this ChildProcess
@returns {void}
Kills the new process and its sub processes .