{"_id":"win-fork","_rev":"17-1cc92e58eee855c7f98cf82d7d4aa43a","name":"win-fork","description":"Spawn for node.js but in a way that works regardless of which OS you're using","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"win-fork","version":"1.0.0","description":"Spawn for node.js but in a way that works regardless of which OS you're using","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/win-spawn.git"},"author":"","license":"BSD","readme":"win-spawn\r\n=========\r\n\r\nSpawn 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.","_id":"win-fork@1.0.0","dist":{"shasum":"6f21f7ec3ee07152b1030c60861cde38e7b66646","tarball":"https://registry.npmjs.org/win-fork/-/win-fork-1.0.0.tgz","integrity":"sha512-iFsJSmXuUuGQKyCMx5pWPj0/jdLbpPAofFqbXDB8vOu2KjBmx3e8WO5heBtn0HTZ/MYVSMebx18f48Oe4bRn8Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfI6Jy6+aDdQxk8lx6NQqlYHJL7ii6ba9cX0hg+ES78AIgJ+NOony7Sa7nw2sx+l6t5UExzTDQeXfONOezn08hwVo="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"1.0.1":{"name":"win-fork","version":"1.0.1","description":"Spawn for node.js but in a way that works regardless of which OS you're using","main":"index.js","repository":{"type":"git","url":"https://github.com/ForbesLindesay/win-spawn.git"},"bin":{"win-spawn":"./bin/win-spawn","win-fork":"./bin/win-spawn"},"author":{"name":"ForbesLindesay"},"license":"BSD","readme":"win-spawn\r\n=========\r\n\r\nSpawn 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.","readmeFilename":"README.md","_id":"win-fork@1.0.1","dist":{"shasum":"e56a82add86fa1452cb7a8a501126b2338e1ff36","tarball":"https://registry.npmjs.org/win-fork/-/win-fork-1.0.1.tgz","integrity":"sha512-b8MgDijeesZk+tnxl01q7ABj7nWHVDXSPs7Qlt+CHshyuG8ZgZ7ORokTSGFwyA7MoDE2v4Xrs8rIVMSwCxfOyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCayOh/d0Opldht2W3JH78EXYqzdXqjA9Vy23bYahUbaQIgCybZNthHxf5C1Usw1d5G7qQCDIAbjR37Kq3e44J4Vn4="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"1.0.2":{"name":"win-fork","version":"1.0.2","description":"Spawn for node.js but in a way that works regardless of which OS you're using","main":"index.js","repository":{"type":"git","url":"https://github.com/ForbesLindesay/win-spawn.git"},"bin":{"win-spawn":"./bin/win-spawn","win-fork":"./bin/win-spawn"},"author":{"name":"ForbesLindesay"},"license":"BSD","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```","readmeFilename":"README.md","_id":"win-fork@1.0.2","dist":{"shasum":"94442baca2842f3eeb7cb73c852003886609add7","tarball":"https://registry.npmjs.org/win-fork/-/win-fork-1.0.2.tgz","integrity":"sha512-xTXR2lLd2jWmnFtsVxorXs+e5SwD0hPG+oY6fPkekRx60XzQyTiMOcDuMcn+FQrFGpJ6jzJvQXdPA2nn6/hQzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID8iAUrtwyYXJAPK6FEqmZs1RRQs38Xmc4Of2Eh2Z5zbAiEA1vVtXXTDsPNdCkbZzQlNxhT5F5CVled+w56OQw7JL1o="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"1.1.0":{"name":"win-fork","version":"1.1.0","description":"Spawn for node.js but in a way that works regardless of which OS you're using","main":"index.js","repository":{"type":"git","url":"https://github.com/ForbesLindesay/win-spawn.git"},"bin":{"win-spawn":"./bin/win-spawn","win-fork":"./bin/win-spawn","win-line-endings":"./bin/win-line-endings"},"devDependencies":{"win-spawn":"*"},"scripts":{"prepublish":"win-line-endings"},"author":{"name":"ForbesLindesay"},"license":"BSD","readme":"# win-spawn\n\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.\n\n## Installation\n\n  $ npm install win-spawn\n\n## Usage\n\n### Command Line\n\n  All the following will work exactly as if the 'win-spawn ' prefix was ommitted when on unix.\n\n    $ win-spawn foo\n    $ win-spawn ./bin/foo\n    $ win-spawn NODE_PATH=./lib foo\n    $ win-spawn NODE_PATH=./lib foo arg1 arg2\n\n  You can also transform all the line endings in a directory from `\\r\\n` to `\\n` just by running:\n\n    $ win-line-endings\n\n  You can preview the changes by running:\n\n    $ win-line-endings -p\n\n  It will ignore `node_modules` and `.git` by default, but is not clever enough to recognise binary files yet.\n\n### API\n\nThis will just pass through to `child_process.spawn` on unix systems, but will correctly parse the arguments on windows.\n\n```javascript\nspawn('foo', [], {stdio: 'inherit'});\nspawn('./bin/foo', [], {stdio: 'inherit'});\nspawn('NODE_PATH=./lib foo', [], {stdio: 'inherit'});\nspawn('NODE_PATH=./lib foo', [arg1, arg2], {stdio: 'inherit'});\n```","readmeFilename":"README.md","_id":"win-fork@1.1.0","dist":{"shasum":"1fca2ee716055afb9f830998b4dcbaf6174923df","tarball":"https://registry.npmjs.org/win-fork/-/win-fork-1.1.0.tgz","integrity":"sha512-1AefBpK621QD9kXGzKsesK2c6au6bxWOu8SkKCqlN+/4QHPjOgYyNywNCqRCQWDI3lGE5w6lpfJxiODcf7mX5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxReoEx9uE3Gw9yZL7OIQ3dcXRAd2y7Z4/AG3xcCxcGQIhANsL+dRgYWqWkMqtpsOE4y7D5F8URtuLf9r+I5jY6mXZ"}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}]},"1.1.1":{"name":"win-fork","version":"1.1.1","description":"Spawn for node.js but in a way that works regardless of which OS you're using","main":"index.js","repository":{"type":"git","url":"https://github.com/ForbesLindesay/win-spawn.git"},"bin":{"win-spawn":"./bin/win-spawn","win-fork":"./bin/win-spawn","win-line-endings":"./bin/win-line-endings"},"devDependencies":{"win-spawn":"*"},"scripts":{"prepublish":"win-line-endings"},"author":{"name":"ForbesLindesay"},"license":"BSD","readme":"# win-spawn\n\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.\n\n## Installation\n\n  $ npm install win-spawn\n\n## Usage\n\n### Command Line\n\n  All the following will work exactly as if the 'win-spawn ' prefix was ommitted when on unix.\n\n    $ win-spawn foo\n    $ win-spawn ./bin/foo\n    $ win-spawn NODE_PATH=./lib foo\n    $ win-spawn NODE_PATH=./lib foo arg1 arg2\n\n  You can also transform all the line endings in a directory from `\\r\\n` to `\\n` just by running:\n\n    $ win-line-endings\n\n  You can preview the changes by running:\n\n    $ win-line-endings -p\n\n  It will ignore `node_modules` and `.git` by default, but is not clever enough to recognise binary files yet.\n\n### API\n\nThis will just pass through to `child_process.spawn` on unix systems, but will correctly parse the arguments on windows.\n\n```javascript\nspawn('foo', [], {stdio: 'inherit'});\nspawn('./bin/foo', [], {stdio: 'inherit'});\nspawn('NODE_PATH=./lib foo', [], {stdio: 'inherit'});\nspawn('NODE_PATH=./lib foo', [arg1, arg2], {stdio: 'inherit'});\n```","readmeFilename":"README.md","_id":"win-fork@1.1.1","dist":{"shasum":"8f58e0656fca00adc8c86a2b89e3cd2d6a2d5e5e","tarball":"https://registry.npmjs.org/win-fork/-/win-fork-1.1.1.tgz","integrity":"sha512-kMnrXXHyb/Zx1ynkiMtcEgq+rxXFIfs/IhhxVBmIk+1KwPyIggZU0RAiADExhSyf0NESvCWQyfO4eGdlU9fBSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIzmaObW5qR3bdK+UpWauxwKkRnWUmdHh0DWgiF11PGAIgAXyxhWZ3LLS8Q66dmJg+nS4f90TxcaFOnv/j17FJXuE="}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}]}},"readme":"win-spawn\r\n=========\r\n\r\nSpawn 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.","maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"time":{"modified":"2022-06-29T02:00:41.841Z","created":"2012-12-07T04:07:24.468Z","1.0.0":"2012-12-07T04:07:26.791Z","1.0.1":"2013-01-31T10:41:40.745Z","1.0.2":"2013-01-31T10:57:47.737Z","1.1.0":"2013-02-04T02:44:09.205Z","1.1.1":"2013-02-04T02:44:41.226Z"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/win-spawn.git"},"author":{"name":"ForbesLindesay"}}