pgriess / node-webworker

A WebWorkers implementation for NodeJS
BSD 3-Clause "New" or "Revised" License
646 stars 84 forks source link

webworker-child.js should munge process.argv[] as though worker script was invoked directly #8

Open pgriess opened 14 years ago

pgriess commented 14 years ago

Right now it's difficult/impossible for worker scripts to use command line arguments in any meaningful way. The contents of the process.argv[] array contain webworker-child.js and . It'd be nice to strip this stuff out so that the worker scripts could be passed arguments on the command line more easily.