mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
joyent/node@b0c1541227 introduced a regression causing `process.argv[0]` to be invalid in node processes spawned from `PATH` (without explicit path to executable file - for example when using global node installation). Instead of finding a correct path to the executable, `process.cwd()` would be prepended to `process.argv[0]`.