index.js
function dump(gcore, coredump) {
  gcore = gcore || 'gcore';
  coredump = coredump || `${process.cwd()}/core.${process.pid}`;

  return DumpProcess.dumpProcess(gcore, coredump);
}
function dump(gcore, coredump) {
  gcore = gcore || 'gcore';
  coredump = coredump || `${process.cwd()}/core.${process.pid}`;

  return DumpProcess.dumpProcess(gcore, coredump);
}
function dump ( gcore , coredump ) { gcore = gcore || 'gcore' ; coredump = coredump || ` ${ process . cwd ( ) } ${ process . pid } ` ; return DumpProcess . dumpProcess ( gcore , coredump ) ; }
Dumps the current process

@param {string} [gcore] - path and filename of the gcore binary
@param {string} [coredump] - path and filename of the target coredump file
@return {Boolean}
Dumps the current process