joyent/node — Issue #2318: child_process.spawn ignores PATHEXT on Windows
Author: OrangeDog
Created: 2011-12-12 16:10:15+00:00
State: open

For example ```require('child.process').spawn('mycmd')``` won't find ```C:\util\mycmd.bat``` when PATH contains ```C:\util``` and PATHEXT contains ```.BAT```.

Ye olde code (https://github.com/joyent/node/blob/v0.4/src/node_child_process_win32.cc) looks like it would have worked, but I have no idea where the v0.6 equivalent is.