{"bin":{"win-fork":"./bin/win-spawn","win-spawn":"./bin/win-spawn"},"dist":{"shasum":"94442baca2842f3eeb7cb73c852003886609add7","tarball":"https://registry.npmjs.org/win-fork/-/win-fork-1.0.2.tgz","integrity":"sha512-xTXR2lLd2jWmnFtsVxorXs+e5SwD0hPG+oY6fPkekRx60XzQyTiMOcDuMcn+FQrFGpJ6jzJvQXdPA2nn6/hQzg==","signatures":[{"sig":"MEUCID8iAUrtwyYXJAPK6FEqmZs1RRQs38Xmc4Of2Eh2Z5zbAiEA1vVtXXTDsPNdCkbZzQlNxhT5F5CVled+w56OQw7JL1o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","name":"win-fork","author":{"name":"ForbesLindesay"},"readme":"# win-spawn\r\n\r\n  Spawn for node.js but in a way that works regardless of which OS you're using.  Use this if you want to use spawn with a JavaScript file.  It works by explicitly invoking node on windows.  It also shims support for environment variable setting by attempting to parse the command with a regex.  Since all modification is wrapped in `if (os === 'Windows_NT')` it can be safely used on non-windows systems and will not break anything.\r\n\r\n## Installation\r\n\r\n  $ npm install win-spawn\r\n\r\n## Usage\r\n\r\n### Command Line\r\n\r\n  All the following will work exactly as if the 'win-spawn ' prefix was ommitted when on unix.\r\n\r\n    $ win-spawn foo\r\n    $ win-spawn ./bin/foo\r\n    $ win-spawn NODE_PATH=./lib foo\r\n    $ win-spawn NODE_PATH=./lib foo arg1 arg2\r\n\r\n### API\r\n\r\nThis will just pass through to `child_process.spawn` on unix systems, but will correctly parse the arguments on windows.\r\n\r\n```javascript\r\nspawn('foo', [], {stdio: 'inherit'});\r\nspawn('./bin/foo', [], {stdio: 'inherit'});\r\nspawn('NODE_PATH=./lib foo', [], {stdio: 'inherit'});\r\nspawn('NODE_PATH=./lib foo', [arg1, arg2], {stdio: 'inherit'});\r\n```","license":"BSD","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"repository":{"url":"https://github.com/ForbesLindesay/win-spawn.git","type":"git"},"_npmVersion":"1.1.69","description":"Spawn for node.js but in a way that works regardless of which OS you're using","directories":{},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"readmeFilename":"README.md","_id":"win-fork@1.0.2","version":"1.0.2"}