{"_id":"kexec","_rev":"162539","name":"kexec","description":"Replace your Node.js process with another process. Like Ruby exec.","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"smblott","email":"smblott@gmail.com"}],"time":{"modified":"2021-06-03T11:42:00.000Z","created":"2011-12-05T15:16:51.669Z","3.0.0":"2016-09-11T13:50:14.552Z","2.0.2":"2015-11-28T04:58:17.825Z","2.0.1":"2015-11-25T15:09:00.549Z","2.0.0":"2015-11-25T03:29:12.287Z","1.3.0":"2015-10-20T23:23:24.294Z","1.2.0":"2015-02-09T20:33:15.279Z","1.1.1":"2015-01-26T10:11:05.022Z","1.1.0":"2015-01-20T11:18:59.941Z","1.0.0":"2014-12-30T01:27:34.228Z","0.2.0":"2014-01-25T06:53:45.633Z","0.1.2":"2014-01-25T06:30:58.873Z","0.1.1":"2012-09-19T18:49:14.476Z","0.1.0":"2012-09-19T16:03:45.496Z","0.0.3":"2012-01-09T22:05:39.215Z","0.0.2":"2012-01-06T19:47:18.490Z","0.0.1":"2011-12-05T15:16:51.669Z"},"users":{"piranna":true,"knownasilya":true,"smblott":true},"author":{"name":"JP Richardson","email":"jprichardson@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/jprichardson/node-kexec.git"},"versions":{"3.0.0":{"name":"kexec","version":"3.0.0","description":"Replace your Node.js process with another process. Like Ruby exec.","homepage":"https://github.com/jprichardson/node-kexec","repository":{"type":"git","url":"git+https://github.com/jprichardson/node-kexec.git"},"scripts":{"lint":"standard","test":"npm run lint && npm run unit","unit":"mocha","install":"node-gyp rebuild"},"keywords":["exec","spawn","process","kexec"],"author":{"name":"JP Richardson","email":"jprichardson@gmail.com"},"license":"MIT","main":"./index","engines":{"node":">=0.10"},"devDependencies":{"mocha":"^2.3.3","standard":"^8.0.0"},"dependencies":{"nan":"^2.4.0"},"gypfile":true,"gitHead":"ea6729505cd97f5dde08b5074fefda00875ff67a","bugs":{"url":"https://github.com/jprichardson/node-kexec/issues"},"_id":"kexec@3.0.0","_shasum":"0ef4aa9d3caa26180c11a10075ac1fce2681e36c","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jprichardson","email":"jprichardson@gmail.com"},"maintainers":[{"name":"smblott","email":"smblott@gmail.com"}],"dist":{"shasum":"0ef4aa9d3caa26180c11a10075ac1fce2681e36c","size":5305,"noattachment":false,"key":"/kexec/-/kexec-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/kexec/download/kexec-3.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kexec-3.0.0.tgz_1473601812947_0.6457769658882171"},"directories":{},"publish_time":1473601814552,"_cnpm_publish_time":1473601814552,"_hasShrinkwrap":false},"2.0.2":{"name":"kexec","version":"2.0.2","description":"Replace your Node.js process with another process. Like Ruby exec.","homepage":"https://github.com/jprichardson/node-kexec","repository":{"type":"git","url":"git+https://github.com/jprichardson/node-kexec.git"},"keywords":["exec","spawn","process","kexec"],"author":{"name":"JP Richardson","email":"jprichardson@gmail.com"},"license":"MIT","main":"./index","engines":{"node":">=0.10"},"devDependencies":{"mocha":"^2.3.3"},"scripts":{"install":"node-gyp rebuild"},"gypfile":true,"gitHead":"39208e5d3d42994e2d1d1f497b6592d9a3adb9eb","bugs":{"url":"https://github.com/jprichardson/node-kexec/issues"},"_id":"kexec@2.0.2","_shasum":"30be12e6942c79b33fd79162e4d9a34b840b3665","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"jprichardson","email":"jprichardson@gmail.com"},"maintainers":[{"name":"smblott","email":"smblott@gmail.com"}],"dist":{"shasum":"30be12e6942c79b33fd79162e4d9a34b840b3665","size":5126,"noattachment":false,"key":"/kexec/-/kexec-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/kexec/download/kexec-2.0.2.tgz"},"directories":{},"publish_time":1448686697825,"_cnpm_publish_time":1448686697825,"_hasShrinkwrap":false},"2.0.1":{"name":"kexec","version":"2.0.1","description":"Replace your Node.js process with another process. Like Ruby exec.","homepage":"https://github.com/jprichardson/node-kexec","repository":{"type":"git","url":"git+https://github.com/jprichardson/node-kexec.git"},"keywords":["exec","spawn","process","kexec"],"author":{"name":"JP Richardson","email":"jprichardson@gmail.com"},"license":"MIT","main":"./index","engines":{"node":">=0.10"},"devDependencies":{"mocha":"^2.3.3"},"scripts":{"install":"node-gyp rebuild"},"gypfile":true,"gitHead":"b7102eff1681295f05128343b176e1f57a059531","bugs":{"url":"https://github.com/jprichardson/node-kexec/issues"},"_id":"kexec@2.0.1","_shasum":"f4ad1f27e364750c45e776ec17858f276a6be29e","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"jprichardson","email":"jprichardson@gmail.com"},"maintainers":[{"name":"smblott","email":"smblott@gmail.com"}],"dist":{"shasum":"f4ad1f27e364750c45e776ec17858f276a6be29e","size":4973,"noattachment":false,"key":"/kexec/-/kexec-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/kexec/download/kexec-2.0.1.tgz"},"directories":{},"publish_time":1448464140549,"_cnpm_publish_time":1448464140549,"_hasShrinkwrap":false},"2.0.0":{"name":"kexec","version":"2.0.0","description":"Replace your Node.js process with another process. Like Ruby exec.","homepage":"https://github.com/jprichardson/node-kexec","repository":{"type":"git","url":"git+https://github.com/jprichardson/node-kexec.git"},"keywords":["exec","spawn","process","kexec"],"author":{"name":"JP Richardson","email":"jprichardson@gmail.com"},"license":"MIT","main":"./index","engines":{"node":">=0.10"},"devDependencies":{"mocha":"^2.3.3"},"scripts":{"install":"node-gyp rebuild"},"gypfile":true,"gitHead":"9cd70a70ca8fa9b962e086f34adceb3319a29966","bugs":{"url":"https://github.com/jprichardson/node-kexec/issues"},"_id":"kexec@2.0.0","_shasum":"14918a50b2508bf113c420739e226f70e8790828","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"jprichardson","email":"jprichardson@gmail.com"},"maintainers":[{"name":"smblott","email":"smblott@gmail.com"}],"dist":{"shasum":"14918a50b2508bf113c420739e226f70e8790828","size":4668,"noattachment":false,"key":"/kexec/-/kexec-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/kexec/download/kexec-2.0.0.tgz"},"directories":{},"publish_time":1448422152287,"_cnpm_publish_time":1448422152287,"_hasShrinkwrap":false},"1.3.0":{"name":"kexec","version":"1.3.0","description":"Replace your Node.js process with another process. Like Ruby exec.","homepage":"https://github.com/jprichardson/node-kexec","repository":{"type":"git","url":"git+https://github.com/jprichardson/node-kexec.git"},"keywords":["exec","spawn","process","kexec"],"author":{"name":"JP Richardson","email":"jprichardson@gmail.com"},"license":"MIT","main":"./index","engines":{"node":">=0.10"},"scripts":{"install":"node-gyp configure build"},"devDependencies":{"mocha":"^2.3.3"},"dependencies":{"node-gyp":"^3.0.3"},"gitHead":"00ceece5db176d11001a2dd81f89caa2cf21d016","bugs":{"url":"https://github.com/jprichardson/node-kexec/issues"},"_id":"kexec@1.3.0","_shasum":"169a399941ba942e8ea2d5ee31ff7eccf063a308","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"jprichardson","email":"jprichardson@gmail.com"},"maintainers":[{"name":"smblott","email":"smblott@gmail.com"}],"dist":{"shasum":"169a399941ba942e8ea2d5ee31ff7eccf063a308","size":4642,"noattachment":false,"key":"/kexec/-/kexec-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/kexec/download/kexec-1.3.0.tgz"},"directories":{},"publish_time":1445383404294,"_cnpm_publish_time":1445383404294,"_hasShrinkwrap":false},"1.2.0":{"name":"kexec","version":"1.2.0","description":"Replace your Node.js process with another process. Like Ruby exec.","homepage":"https://github.com/jprichardson/node-kexec","repository":{"type":"git","url":"https://github.com/jprichardson/node-kexec"},"keywords":["exec","spawn","process","kexec"],"author":{"name":"JP Richardson","email":"jprichardson@gmail.com"},"licenses":[{"type":"MIT"}],"main":"./index","engines":{"node":">=0.10"},"scripts":{"install":"pangyp configure build"},"devDependencies":{"mocha":"^2.1.0"},"dependencies":{"pangyp":"^2.0.1"},"gitHead":"641a8da774ba5e35467b4cb3e2c3213e7f75ddcc","bugs":{"url":"https://github.com/jprichardson/node-kexec/issues"},"_id":"kexec@1.2.0","_shasum":"b5e28c297ac8d7264d0bd820c5426f6009bd7b92","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jprichardson","email":"jprichardson@gmail.com"},"maintainers":[{"name":"smblott","email":"smblott@gmail.com"}],"dist":{"shasum":"b5e28c297ac8d7264d0bd820c5426f6009bd7b92","size":4602,"noattachment":false,"key":"/kexec/-/kexec-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/kexec/download/kexec-1.2.0.tgz"},"directories":{},"publish_time":1423513995279,"_cnpm_publish_time":1423513995279,"_hasShrinkwrap":false},"1.1.1":{"name":"kexec","version":"1.1.1","description":"Replace your Node.js process with another process. Like Ruby exec.","homepage":"https://github.com/jprichardson/node-kexec","repository":{"type":"git","url":"https://github.com/jprichardson/node-kexec"},"keywords":["exec","spawn","process","kexec"],"author":{"name":"JP Richardson","email":"jprichardson@gmail.com"},"licenses":[{"type":"MIT"}],"main":"./index","engines":{"node":">=0.10"},"scripts":{"install":"pangyp configure build"},"devDependencies":{"mocha":"^2.1.0"},"dependencies":{"pangyp":"^2.0.1"},"gitHead":"be596a698497f67c2b7339358f8bbcf01e51bb0e","bugs":{"url":"https://github.com/jprichardson/node-kexec/issues"},"_id":"kexec@1.1.1","_shasum":"55c2889a05b02a952a1995f82617f4d58be7b4d4","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.32","_npmUser":{"name":"jprichardson","email":"jprichardson@gmail.com"},"maintainers":[{"name":"smblott","email":"smblott@gmail.com"}],"dist":{"shasum":"55c2889a05b02a952a1995f82617f4d58be7b4d4","size":4570,"noattachment":false,"key":"/kexec/-/kexec-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/kexec/download/kexec-1.1.1.tgz"},"directories":{},"publish_time":1422267065022,"_cnpm_publish_time":1422267065022,"_hasShrinkwrap":false},"1.1.0":{"name":"kexec","version":"1.1.0","description":"Replace your Node.js process with another process. Like Ruby exec.","homepage":"https://github.com/jprichardson/node-kexec","repository":{"type":"git","url":"https://github.com/jprichardson/node-kexec"},"keywords":["exec","spawn","process","kexec"],"author":{"name":"JP Richardson","email":"jprichardson@gmail.com"},"licenses":[{"type":"MIT"}],"main":"./index","engines":{"node":">=0.10"},"scripts":{"install":"pangyp configure build"},"devDependencies":{"mocha":"^2.1.0","pangyp":"^2.0.1"},"dependencies":{},"gitHead":"001d12aa31be71e69cadf42573e24a80ca218e88","bugs":{"url":"https://github.com/jprichardson/node-kexec/issues"},"_id":"kexec@1.1.0","_shasum":"d00dcf6047027a34618cd89a21b8282fb2cf4e8e","_from":".","_npmVersion":"2.2.0","_nodeVersion":"1.0.3","_npmUser":{"name":"jp","email":"jprichardson@gmail.com"},"maintainers":[{"name":"smblott","email":"smblott@gmail.com"}],"dist":{"shasum":"d00dcf6047027a34618cd89a21b8282fb2cf4e8e","size":4602,"noattachment":false,"key":"/kexec/-/kexec-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/kexec/download/kexec-1.1.0.tgz"},"directories":{},"publish_time":1421752739941,"_cnpm_publish_time":1421752739941,"_hasShrinkwrap":false},"1.0.0":{"name":"kexec","version":"1.0.0","description":"Replace your Node.js process with another process. Like Ruby exec.","repository":{"type":"git","url":"https://github.com/jprichardson/node-kexec"},"keywords":["exec","spawn","process","kexec"],"author":{"name":"JP Richardson","email":"jprichardson@gmail.com"},"licenses":[{"type":"MIT"}],"main":"./index","engines":{"node":">=0.10"},"scripts":{"install":"node-gyp configure build"},"devDependencies":{"mocha":"*"},"dependencies":{},"gitHead":"bb1430921edb523e904775fbc85b95cbaea7813c","bugs":{"url":"https://github.com/jprichardson/node-kexec/issues"},"_id":"kexec@1.0.0","_shasum":"b0ccb57dca95e483422c34e26a85f4bf9201de72","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.26","_npmUser":{"name":"jp","email":"jprichardson@gmail.com"},"maintainers":[{"name":"smblott","email":"smblott@gmail.com"}],"dist":{"shasum":"b0ccb57dca95e483422c34e26a85f4bf9201de72","size":4516,"noattachment":false,"key":"/kexec/-/kexec-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/kexec/download/kexec-1.0.0.tgz"},"directories":{},"publish_time":1419902854228,"_cnpm_publish_time":1419902854228,"_hasShrinkwrap":false},"0.2.0":{"name":"kexec","version":"0.2.0","description":"Replace your Node.js process with another process. Like Ruby exec.","homepage":["https://github.com/jprichardson/node-kexec"],"repository":{"type":"git","url":"https://github.com/jprichardson/node-kexec"},"keywords":["exec","spawn","process","kexec"],"author":{"name":"JP Richardson","email":"jprichardson@gmail.com"},"licenses":[{"type":"MIT"}],"main":"./index","engines":{"node":">=0.4"},"scripts":{"install":"node-gyp configure build"},"devDependencies":{"mocha":"*"},"_id":"kexec@0.2.0","dist":{"shasum":"8a55c4aced245d89dcb38cfa4a47e8503140cd54","size":4269,"noattachment":false,"key":"/kexec/-/kexec-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/kexec/download/kexec-0.2.0.tgz"},"_npmVersion":"1.1.66","_npmUser":{"name":"smblott","email":"smblott@gmail.com"},"maintainers":[{"name":"smblott","email":"smblott@gmail.com"}],"directories":{},"publish_time":1390632825633,"_cnpm_publish_time":1390632825633,"_hasShrinkwrap":false},"0.1.2":{"name":"kexec","version":"0.1.2","description":"Replace your Node.js process with another process. Like Ruby exec.","homepage":["https://github.com/jprichardson/node-kexec"],"repository":{"type":"git","url":"https://github.com/jprichardson/node-kexec"},"keywords":["exec","spawn","process","kexec"],"author":{"name":"JP Richardson","email":"jprichardson@gmail.com"},"licenses":[{"type":"MIT"}],"main":"./index","engines":{"node":">=0.4"},"scripts":{"install":"node-gyp configure build"},"devDependencies":{"mocha":"*"},"_id":"kexec@0.1.2","dist":{"shasum":"818158f5b7762e22c6ad00d0e562bd5bdd34d56a","size":4219,"noattachment":false,"key":"/kexec/-/kexec-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/kexec/download/kexec-0.1.2.tgz"},"_npmVersion":"1.1.66","_npmUser":{"name":"smblott","email":"smblott@gmail.com"},"maintainers":[{"name":"smblott","email":"smblott@gmail.com"}],"directories":{},"publish_time":1390631458873,"_cnpm_publish_time":1390631458873,"_hasShrinkwrap":false},"0.1.1":{"name":"kexec","version":"0.1.1","description":"Replace your Node.js process with another process. Like Ruby exec.","homepage":["https://github.com/jprichardson/node-kexec"],"repository":{"type":"git","url":"https://github.com/jprichardson/node-kexec"},"keywords":["exec","spawn","process","kexec"],"author":{"name":"JP Richardson","email":"jprichardson@gmail.com"},"licenses":[{"type":"MIT"}],"main":"./index","engines":{"node":">=0.4"},"scripts":{"install":"node-gyp configure build"},"devDependencies":{"mocha":"*"},"_id":"kexec@0.1.1","dist":{"shasum":"f8b8b770813a0200f231ce47e5d486f604f90871","size":2826,"noattachment":false,"key":"/kexec/-/kexec-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/kexec/download/kexec-0.1.1.tgz"},"maintainers":[{"name":"smblott","email":"smblott@gmail.com"}],"directories":{},"publish_time":1348080554476,"_cnpm_publish_time":1348080554476,"_hasShrinkwrap":false},"0.1.0":{"name":"kexec","version":"0.1.0","description":"Replace your Node.js process with another process. Like Ruby exec.","homepage":["https://github.com/jprichardson/node-kexec"],"repository":{"type":"git","url":"https://github.com/jprichardson/node-kexec"},"keywords":["exec","spawn","process","kexec"],"author":{"name":"JP Richardson","email":"jprichardson@gmail.com"},"licenses":[{"type":"MIT"}],"main":"./index","engines":{"node":">=0.4"},"scripts":{"install":"node-gyp configure build"},"devDependencies":{"mocha":"*"},"_id":"kexec@0.1.0","dist":{"shasum":"d12a6f97454c17dd79a65249a4eff7c2ddd34426","size":2976,"noattachment":false,"key":"/kexec/-/kexec-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/kexec/download/kexec-0.1.0.tgz"},"maintainers":[{"name":"smblott","email":"smblott@gmail.com"}],"directories":{},"publish_time":1348070625496,"_cnpm_publish_time":1348070625496,"_hasShrinkwrap":false},"0.0.3":{"name":"kexec","version":"0.0.3","description":"Replace your Node.js process with another process. Like Ruby exec.","homepage":["https://github.com/jprichardson/node-kexec"],"repository":{"type":"git","url":"git://github.com/jprichardson/node-kexec.git"},"keywords":["exec","spawn","process"],"author":{"name":"JP Richardson","email":"jprichardson@gmail.com"},"licenses":[{"type":"MIT"}],"main":"./index","engines":{"node":">=0.4"},"scripts":{"install":"node-waf configure build"},"_npmUser":{"name":"jp","email":"jprichardson@gmail.com"},"_id":"kexec@0.0.3","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-alpha-6","_nodeVersion":"v0.6.5","_defaultsLoaded":true,"dist":{"shasum":"5e969f37d61d02b6a36da8016c019ea658032440","size":2289,"noattachment":false,"key":"/kexec/-/kexec-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/kexec/download/kexec-0.0.3.tgz"},"maintainers":[{"name":"smblott","email":"smblott@gmail.com"}],"directories":{},"publish_time":1326146739215,"_cnpm_publish_time":1326146739215,"_hasShrinkwrap":false},"0.0.2":{"name":"kexec","version":"0.0.2","description":"Replace your Node.js process with another process. Like Ruby exec.","homepage":["https://github.com/jprichardson/node-kexec"],"repository":{"type":"git","url":"git://github.com/jprichardson/node-kexec.git"},"keywords":["exec","spawn","process"],"author":{"name":"JP Richardson","email":"jprichardson@gmail.com"},"licenses":[{"type":"MIT"}],"main":"./index","engines":{"node":">=0.4"},"scripts":{"install":"node-waf configure build"},"_npmUser":{"name":"jp","email":"jprichardson@gmail.com"},"_id":"kexec@0.0.2","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-alpha-6","_nodeVersion":"v0.6.5","_defaultsLoaded":true,"dist":{"shasum":"2da241ca4fe42a0e353651a8feef75d8e446ccdb","size":2284,"noattachment":false,"key":"/kexec/-/kexec-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/kexec/download/kexec-0.0.2.tgz"},"maintainers":[{"name":"smblott","email":"smblott@gmail.com"}],"directories":{},"publish_time":1325879238490,"_cnpm_publish_time":1325879238490,"_hasShrinkwrap":false},"0.0.1":{"name":"kexec","version":"0.0.1","description":"Replace your Node.js process with another process. Like Ruby exec.","homepage":["https://github.com/jprichardson/node-kexec"],"repository":{"type":"git","url":"git://github.com/jprichardson/node-kexec.git"},"keywords":["exec","spawn","process"],"author":{"name":"JP Richardson","email":"jprichardson@gmail.com"},"licenses":[{"type":"MIT"}],"main":"./index","engines":{"node":">=0.4"},"scripts":{"install":"node-waf configure build"},"_npmUser":{"name":"jp","email":"jprichardson@gmail.com"},"_id":"kexec@0.0.1","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.104","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"41f08cfc5c9c44f342179299a4026bdfa682e921","size":10240,"noattachment":false,"key":"/kexec/-/kexec-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/kexec/download/kexec-0.0.1.tgz"},"maintainers":[{"name":"smblott","email":"smblott@gmail.com"}],"directories":{},"publish_time":1323098211669,"_cnpm_publish_time":1323098211669,"_hasShrinkwrap":false}},"readme":"Node.js - kexec\n===============\n\n[![npm Package](https://img.shields.io/npm/v/kexec.svg?style=flat-square)](https://www.npmjs.org/package/kexec)\n[![build status](https://api.travis-ci.org/jprichardson/node-kexec.svg)](http://travis-ci.org/jprichardson/node-kexec)\n[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)\n\nThis module causes your current Node.js process to be replaced by the process invoked by the parameter of this function. It's like the Ruby exec function. It currently does not work on Windows.\n\nFully compatible with Node.js version v0.10 and v0.11.\n\n\nUsage\n-----\n\n```js\nvar kexec = require('kexec')\n\nkexec('top') //your process now becomes top, can also accept parameters in one string\n```\n\n```javascript\nvar kexec = require('kexec')\n\nkexec('du', [ '-sh', '/etc/fstab' ]) //your process now becomes du, with the arguments indicated\n```\n\n\nDetails\n-------\n\n`kexec` can be called in either of two ways, as indicated by the examples, above.\n\nWith one argument `arg`, that argument must be a string.  The resulting system\ncall is:\n\n    execvp(\"/bin/sh\", [ \"/bin/sh\", \"-c\", arg, 0 ]);\n\nWith two arguments, the first (`cmd`) must be a string, and the second (`args`) an array of strings.  The resulting\nsystem call is:\n\n    execvp(cmd, [ cmd, args[0], args[1], ..., 0 ]);\n\nIn the first case, the command is subject to shell parsing, and shell meta\ncharacters retain their special meanings.  In the second case, the arguments\nare passed directly to `execvp`, without an intervening shell.\n\n\nLicense\n-------\n\n(The MIT License)\n\nCopyright (c) 2011-2015 JP Richardson\n","_attachments":{},"homepage":"https://github.com/jprichardson/node-kexec","bugs":{"url":"https://github.com/jprichardson/node-kexec/issues"},"license":"MIT"}