Bug #3524: system command should prefer CWD to PATH in windows
http://redmine.ruby-lang.org/issues/show/3524

Author: Roger Pack
Status: Open, Priority: Normal
ruby -v: ruby 1.9.3dev (2010-06-25 trunk 28432) [i386-mingw32]

from within a directory with 'convert.exe' located in it:


D:\installs\ImageMagick-6.6.2-Q16>convert --help | head -n3
Version: ImageMagick 6.6.2-10 2010-06-29 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
...

D:\installs\ImageMagick-6.6.2-Q16>irb
irb(main):001:0> `convert --help` # error messages pops up indicating it is running the first convert found on the path, not convert.exe within the CWD
=> ""

Thanks!
-r


----------------------------------------
http://redmine.ruby-lang.org