{"ts":1372762141733,"silentsave":true,"restoring":false,"patch":[[{"diffs":[[1,"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"utf-8\">\n    <title>JSDoc: Module: exec</title>\n    \n    <script src=\"scripts/prettify/prettify.js\"> </script>\n    <script src=\"scripts/prettify/lang-css.js\"> </script>\n    <!--[if lt IE 9]>\n      <script src=\"//html5shiv.googlecode.com/svn/trunk/html5.js\"></script>\n    <![endif]-->\n    <link type=\"text/css\" rel=\"stylesheet\" href=\"styles/prettify-tomorrow.css\">\n    <link type=\"text/css\" rel=\"stylesheet\" href=\"styles/jsdoc-default.css\">\n</head>\n\n<body>\n\n<div id=\"main\">\n    \n    <h1 class=\"page-title\">Module: exec</h1>\n    \n    \n\n\n\n<section>\n    \n<header>\n    <h2>\n    exec\n    </h2>\n    \n</header>  \n\n<article>\n    <div class=\"container-overview\">\n    \n    \n    \n        \n            <div class=\"description\">Provides utility methods to execute a command</div>\n        \n        \n        \n<dl class=\"details\">\n    \n        \n    \n    \n    \n\n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    <dt class=\"tag-source\">Source:</dt>\n    <dd class=\"tag-source\"><ul class=\"dummy\"><li>\n        <a href=\"exec.js.html\">lib/exec.js</a>, <a href=\"exec.js.html#line1\">line 1</a>\n    </li></ul></dd>\n    \n    \n    \n    \n    \n    \n    \n</dl>\n\n        \n        \n    \n    </div>\n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n        <h3 class=\"subsection-title\">Methods</h3>\n        \n        <dl>\n            \n<dt>\n    <h4 class=\"name\" id=\"buildSpawned\"><span class=\"type-signature\">&lt;static> </span>buildSpawned<span class=\"signature\">(grunt, script, sources, options)</span><span class=\"type-signature\"> &rarr; {ChildProcess}</span></h4>\n    \n    \n</dt>\n<dd>\n    \n    \n    <div class=\"description\">\n        Build and execute a child process using the spawn function\n    </div>\n    \n\n    \n    \n    \n    \n    \n        <h5>Parameters:</h5>\n        \n\n<table class=\"params\">\n    <thead>\n\t<tr>\n\t\t\n\t\t<th>Name</th>\n\t\t\n\t\t\n\t\t<th>Type</th>\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t<th class=\"last\">Description</th>\n\t</tr>\n\t</thead>\n\t\n\t<tbody>\n\t\n\t\n        <tr>\n            \n                <td class=\"name\"><code>grunt</code></td>\n            \n            \n            <td class=\"type\">\n            \n                \n<span class=\"param-type\">Object</span>\n\n\n            \n            </td>\n            \n            \n            \n            \n            \n            <td class=\"description last\">the grunt context</td>\n        </tr>\n\t\n\t\n\t\n        <tr>\n            \n                <td class=\"name\"><code>script</code></td>\n            \n            \n            <td class=\"type\">\n            \n                \n<span class=\"param-type\">String</span>\n\n\n            \n            </td>\n            \n            \n            \n            \n            \n            <td class=\"description last\">the script to run</td>\n        </tr>\n\t\n\t\n\t\n        <tr>\n            \n                <td class=\"name\"><code>sources</code></td>\n            \n            \n            <td class=\"type\">\n            \n                \n<span class=\"param-type\">Array</span>\n\n\n            \n            </td>\n            \n            \n            \n            \n            \n            <td class=\"description last\">the list of sources files</td>\n        </tr>\n\t\n\t\n\t\n        <tr>\n            \n                <td class=\"name\"><code>options</code></td>\n            \n            \n            <td class=\"type\">\n            \n                \n<span class=\"param-type\">Object</span>\n\n\n            \n            </td>\n            \n            \n            \n            \n            \n            <td class=\"description last\">the list of cli flags</td>\n        </tr>\n\t\n\t\n\t</tbody>\n</table>\n    \n    \n    \n<dl class=\"details\">\n    \n        \n    \n    \n    \n\n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    <dt class=\"tag-source\">Source:</dt>\n    <dd class=\"tag-source\"><ul class=\"dummy\"><li>\n        <a href=\"exec.js.html\">lib/exec.js</a>, <a href=\"exec.js.html#line15\">line 15</a>\n    </li></ul></dd>\n    \n    \n    \n    \n    \n    \n    \n</dl>\n\n    \n    \n\n    \n\n    \n    \n    \n    \n    \n    <h5>Returns:</h5>\n    \n            \n<div class=\"param-desc\">\n    from the spawn\n</div>\n\n\n\n<dl>\n\t<dt>\n\t\tType\n\t</dt>\n\t<dd>\n\t\t\n<span class=\"param-type\">ChildProcess</span>\n\n\n\t</dd>\n</dl>\n\n        \n    \n    \n</dd>\n\n        \n            \n<dt>\n    <h4 class=\"name\" id=\"lookup\"><span class=\"type-signature\">&lt;static> </span>lookup<span class=\"signature\">(grunt, base, extPath)</span><span class=\"type-signature\"> &rarr; {String}</span></h4>\n    \n    \n</dt>\n<dd>\n    \n    \n    <div class=\"description\">\n        Lookup file or path into node modules\n    </div>\n    \n\n    \n    \n    \n    \n    \n        <h5>Parameters:</h5>\n        \n\n<table class=\"params\">\n    <thead>\n\t<tr>\n\t\t\n\t\t<th>Name</th>\n\t\t\n\t\t\n\t\t<th>Type</th>\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t<th class=\"last\">Description</th>\n\t</tr>\n\t</thead>\n\t\n\t<tbody>\n\t\n\t\n        <tr>\n            \n                <td class=\"name\"><code>grunt</code></td>\n            \n            \n            <td class=\"type\">\n            \n                \n<span class=\"param-type\">Object</span>\n\n\n            \n            </td>\n            \n            \n            \n            \n            \n            <td class=\"description last\">the grunt context</td>\n        </tr>\n\t\n\t\n\t\n        <tr>\n            \n                <td class=\"name\"><code>base</code></td>\n            \n            \n            <td class=\"type\">\n            \n                \n<span class=\"param-type\">String</span>\n\n\n            \n            </td>\n            \n            \n            \n            \n            \n            <td class=\"description last\">the file or path to lookup</td>\n        </tr>\n\t\n\t\n\t\n        <tr>\n            \n                <td class=\"name\"><code>extPath</code></td>\n            \n            \n            <td class=\"type\">\n            \n                \n<span class=\"param-type\">String</span>\n|\n\n<span class=\"param-type\">Array</span>\n\n\n            \n            </td>\n            \n            \n            \n            \n            \n            <td class=\"description last\">additionnal pathes to lookup</td>\n        </tr>\n\t\n\t\n\t</tbody>\n</table>\n    \n    \n    \n<dl class=\"details\">\n    \n        \n    \n    \n    \n\n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    <dt class=\"tag-source\">Source:</dt>\n    <dd class=\"tag-source\"><ul class=\"dummy\"><li>\n        <a href=\"exec.js.html\">lib/exec.js</a>, <a href=\"exec.js.html#line70\">line 70</a>\n    </li></ul></dd>\n    \n    \n    \n    \n    \n    \n    \n</dl>\n\n    \n    \n\n    \n\n    \n    \n    \n    \n    \n    <h5>Returns:</h5>\n    \n            \n<div class=\"param-desc\">\n    the first matching resolved path\n</div>\n\n\n\n<dl>\n\t<dt>\n\t\tType\n\t</dt>\n\t<dd>\n\t\t\n<span class=\"param-type\">String</span>\n\n\n\t</dd>\n</dl>\n\n        \n    \n    \n</dd>\n\n        </dl>\n    \n    \n    \n    \n    \n</article>\n\n</section>  \n\n\n\n\n</div>\n\n<nav>\n    <h2><a href=\"index.html\">Index</a></h2><h3>Modules</h3><ul><li><a href=\"module-exec.html\">exec</a></li><li><a href=\"jsdoc-plugin.html\">tasks/jsdoc-plugin</a></li></ul>\n</nav>\n\n<br clear=\"both\">\n\n<footer>\n    Documentation generated by <a href=\"https://github.com/jsdoc3/jsdoc\">JSDoc 3.2.0</a> on Tue Jul 02 2013 06:48:39 GMT-0400 (EDT)\n</footer>\n\n<script> prettyPrint(); </script>\n<script src=\"scripts/linenumber.js\"> </script>\n</body>\n</html>"]],"start1":0,"start2":0,"length1":0,"length2":7223}]],"length":7223}
