{"author":{"name":"Mario Gutierrez","email":"mario@mgutz.com"},"name":"execSync","description":"Synchronous exec when you NEED it.","version":"0.0.3","dependencies":{"ffi":"latest"},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_id":"execSync@0.0.3","dist":{"shasum":"d9389d8e1d8f8ce534c4fb4b7cc3957686adab04","tarball":"http://registry-npm.ywwl.com/execSync/download/execSync-0.0.3.tgz","integrity":"sha512-f4KojerHwD61h2wnHIotGB6Vdt2hBILBT7Tmjw6XMuuzvPalrTm9eTGspe/6XLgpa05PuegaupgYPPnxtSjNwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIALrNV112AybEWp+wq2GDX97pWw/YqICSDmdzcLPUePzAiEAlvfjkjpoZ72Yo5kgENcy70ck6VWhiyRh0dfFg69cUIw="}],"size":1297,"noattachment":false,"key":"/execSync/-/execSync-0.0.3.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"mgutz","email":"mario@mgutz.com"},"maintainers":[{"name":"mgutz","email":"mario@mgutz.com"}],"directories":{},"readme":"# execSync\n\nExecutes shell commands synchronously.\n\n__WARNING__ For dev machine shell scripting only. **DO NOT USE** for\nproduction servers.\n\n## Install\n\n__Windows__ requires Python and Visual Studio 2012 (Express) installed for\nnode to build. See [node-gyp installation](https://github.com/TooTallNate/node-gyp#installation).\nPre-built binaries for node v0.8 and node v0.10 are packaged. They should work and if not try manually\nbuilding.\n\n    npm install execSync\n\nSometimes a manual build is necessary on Windows even with all the tools in place, replace Visual Studio version\nwith '2010' or '2012' based on the version installed.\n\n    npm install node-gyp -g\n    node-gyp rebuild --msvs_version=2012\n\n## Usage\n\nRequire it\n\n    var sh = require('execSync');\n\n`Run` does not capture output.\n\n    var code = sh.run('echo $USER; echo some_err 1>&2; exit 1');\n    console.log('return code ' + code);\n\nUse the less efficient `exec` if you need output. `exec` is just redirection\ntrickery around `run`.\n\n    var result = sh.exec('echo $USER; echo some_err 1>&2; exit 1');\n    console.log('return code ' + result.code);\n    console.log('stdout + stderr ' + result.stdout);\n\n## Notes\n\nIn *nix and OSX version commands are run via `sh -c YOUR_COMMAND`\n\nIn __Windows__ commands are run via `cmd /C YOUR_COMMAND`\n\n## License\n\nCopyright (c) 2012, 2013 Mario Gutierrez mario@mgutz.com\n\nSee the file LICENSE for copying permission.\n","publish_time":1361381301939,"_cnpm_publish_time":1361381301939,"dist-tags":{"latest":"1.0.2"}}