{"author":{"name":"Mario Gutierrez","email":"mario@mgutz.com"},"name":"execSync","description":"Node's missing execSync.","version":"1.0.1-pre","license":"MIT","dependencies":{"temp":"~0.5.1"},"devDependencies":{"chai":"~1.5.0","mocha":"~1.9.0"},"optionalDependencies":{},"engines":{"node":"*"},"scripts":{"test":"mocha test/unixSpec","install":"node-gyp rebuild"},"gypfile":true,"_id":"execSync@1.0.1-pre","dist":{"shasum":"8fa8deb748eecdafe61feea49921bb9b7a410d1e","tarball":"http://registry-npm.ywwl.com/execSync/download/execSync-1.0.1-pre.tgz","integrity":"sha512-S14Ay5Dkf2sf/CuRhScyy6lx0Rebxducr05uC6FM5LeSI4Wh5PY81l0FF4RYQPOq5Q1AGbocUsylNJ1Sa180HA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+SsTAesBDfp3eE4/Q34x/DcR7bC8Z5z3XfcNnHf2JjAIgUkYnYugvCjhCwadNS8VEJ0EAN8i46cXpMxgeO1nuxsM="}],"size":44469,"noattachment":false,"key":"/execSync/-/execSync-1.0.1-pre.tgz"},"_from":".","_npmVersion":"1.2.30","_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":1373821620692,"_cnpm_publish_time":1373821620692,"dist-tags":{"latest":"1.0.2"}}