[#30722] JSON ライブラリの取り込み — "NARUSE, Yui" <naruse@...>

naruseです。

20 messages 2007/04/21

[ruby-dev:30696] Re: IO.popen doesn't fail for non-existent command

From: "Akinori MUSHA" <knu@...>
Date: 2007-04-05 02:02:46 UTC
List: ruby-dev #30696
At Wed, 4 Apr 2007 00:34:47 +0900,
Nobuyoshi Nakada wrote:
> なかだです。
>
> At Tue, 3 Apr 2007 19:26:15 +0900,
> nobu@ruby-lang.org wrote in [ruby-dev:30679]:
> > http://bts.vinelinux.org/guest.cgi?project=VineLinux&action=view_report&id=481
> > 「481: ri で command not found: pager」に関連した話ですが、
> > IO.popenに存在しないコマンドを指定したときにエラーにならないの
> > は、少なくとも1.9でバグだと思います。
>
> 1.8用に、ri_display.rbのパッチです。やってることは1.9と同じです。

 入れてください。

 しかし、1.8だと面倒ですね。できれば popen ごとbackportできれば
いいんですが、ちょっと大かがりですか。

--
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"Different eyes see different things,
    Different hearts beat on different strings --
       But there are times for you and me when all such things agree"

In This Thread

Prev Next