joyent/node — pull request #2821 by mmalecki (2012-02-24 02:26:06+00:00)
Title: Fix `process.argv[0]`

joyent/node@b0c1541 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]`.