Bug #3524
closedsystem command should prefer CWD to PATH in windows
Description
=begin
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
=end
Updated by runpaint (Run Paint Run Run) almost 14 years ago
=begin
It's for security reasons: http://www.faqs.org/docs/Linux-mini/Path.html#s12 , http://serverfault.com/questions/98587/ . Presumably, if you want to ignore best practice you can add '.' to your path.
=end
Updated by usa (Usaku NAKAMURA) almost 14 years ago
- Status changed from Open to Rejected
=begin
As Run Paint Run Run says, set "." to PATH by yourself if you
want to shoot your foot.
=end