pgriess / node-webworker

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

Allow overriding the executable used to invoke workers #5

Closed pgriess closed 14 years ago

pgriess commented 14 years ago

This is currently hard-coded to process.argv[0](really we should use process.execPath anyway). Instead, we should allow the caller to override this using the new 'opts' argument to the Worker() constructor.

pgriess commented 14 years ago

Fixed in fdb6aecfc1816ce3c58c754657e7a4da939d5f01.