[ruby-dev:38588] [Bug #1601] ドットの含まれた exe ファイルの実行

View: New views
2 Messages — Rating Filter:   Alert me  

[ruby-dev:38588] [Bug #1601] ドットの含まれた exe ファイルの実行

by Marc-Andre Lafortune-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bug #1601: ドットの含まれた exe ファイルの実行
http://redmine.ruby-lang.org/issues/show/1601

起票者: Kimura Yoshihiro
ステータス: Open, 優先度: Normal
ruby -v: ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mingw32]

ファイル名にドットが含まれているような exe ファイルを、
exe を省略して system で呼ぶことができません。

  $ cat x.c
  #include <stdio.h>
  int main() { puts("x"); return 0; }
  $ gcc -o x x.c
  $ cp x.exe x.1.exe

  $ ruby-1.9 -v
  ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mingw32]
  $ ruby-1.9 -e 'p system("./x")'
  x
  true
  $ ruby-1.9 -e 'p system("./x.1")'
  nil
  $ ruby-1.9 -e 'p system("./x.1.exe")'
  x
  true
  $ ruby-1.9 -e 'p system("ruby-1.9", "-v")'
  nil
  $ ruby-1.9 -e 'p system("ruby-1.9.exe", "-v")'
  ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mingw32]
  true

ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32]
でも試しましたが、同様でした。1.8.7 では問題無く呼べます。


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


[ruby-dev:38721] [Bug #1601](Closed) ドットの含まれた exe ファイルの実行

by Marc-Andre Lafortune-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

チケット #1601 が更新されました。 (by Nobuyoshi Nakada)

ステータス OpenからClosedに変更
進捗 % 0から100に変更

Applied in changeset r23891.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1601

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