やつです.
役に立つ情報かどうかわかりませんが,
In message "[ruby-list:11635] Re: Segmentation fault"
on 99/01/19, WATANABE Hirofumi <watanabe / ase.ptg.sony.co.jp> writes:
|ということはたぶん cygwin だけの問題ですね. うーむ.
| ruby -e "system %(ping localhost)"
|が SEGV になりますか?
WindowsNT4.0 + SP3
cygwin-b20.1(cp cygwin1.dll cygwinb19.dll としてあります)
ruby 1.1c6(98/10/05) [i386-cygwin32]
な環境のbash 2.02.1(2)-release上で,
/home/yatsu$ /WINNT/SYSTEM32/PING.EXE localhost
Pinging kpc130.ele.kimmon.co.jp [127.0.0.1] with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<10ms TTL=128
Reply from 127.0.0.1: bytes=32 time<10ms TTL=128
Reply from 127.0.0.1: bytes=32 time<10ms TTL=128
/home/yatsu$ ruby -e "system %(/WINNT/SYSTEM32/PING.EXE localhost)"
Pinging kpc130.ele.kimmon.co.jp [127.0.0.1] with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<10ms TTL=128
Reply from 127.0.0.1: bytes=32 time<10ms TTL=128
Reply from 127.0.0.1: bytes=32 time<10ms TTL=128
Reply from 127.0.0.1: bytes=32 time<10ms TTL=128
と,問題なく実行できています.
--
谷津昌樹
yatsu / ele.kimmon.co.jp