Project

General

Profile

Actions

Bug #2384

closed

mkmf find_executable doesn't find batch files in doze

Added by rogerdpack (Roger Pack) over 14 years ago. Updated about 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-09-26 trunk 25103) [i386-mingw32]
Backport:
[ruby-core:26821]

Description

=begin
find_executable('gcc') fails even if gcc.bat is present in the path.
Thanks!
-r
=end

Actions #1

Updated by usa (Usaku NAKAMURA) over 14 years ago

  • Category set to lib
  • Status changed from Open to Assigned
  • Assignee set to nobu (Nobuyoshi Nakada)

=begin

=end

Actions #2

Updated by luislavena (Luis Lavena) over 14 years ago

=begin
Roger,

You should explain that "gcc.bat" is a wrapper used by RubyInstaller DevKit to avoid polluting the PATH with all MSYS/MinGW binaries.

Any executable (.bat, .com, .exe) should be considered executable my mkmf.

Cheers.
=end

Actions #3

Updated by nobu (Nobuyoshi Nakada) over 14 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r25964.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Actions #4

Updated by rogerdpack (Roger Pack) about 14 years ago

=begin
Thank you this also allows
Process.spawn 'file.bat'
to work. Sweet.
-=r
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0