At Mon, 20 May 2002 12:01:53 +0900, OZAWA -Crouton- Sakuro wrote: > In article <20020519144124.2A64.USA / osb.att.ne.jp>, > "U.Nakamura" <usa / osb.att.ne.jp> writes: > > > * RUBY_PROGRAM_NAMEとARGV.program_nameの両方 > > * RUBY_INTERPRETERとARGV.interpreterの両方 > > のいずれかを希望しますです。 > > interpreterの語が入っているほうがいいと思います。 > RUBY_INTERPRETER > RUBY_INTERPRETER_NAME > RUBY_INTERPRETER_PATH > などなど。 argv[0] は呼び出し(exec)側が自由にセットできるものなので、 インタプリタとは限らないのでは。 # その意味で、素敵な名前を付けずに Process.argv[0] で取れる方が # 無理なく感じます。 -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Somewhere out of a memory.. of lighted streets on quiet nights.."