Ronald Pijnacker
rhp****@dse*****
Wed Sep 10 14:37:19 JST 2003
> Hi, > > On Tue, 9 Sep 2003 10:42:15 +0200 > Ronald Pijnacker <rhp****@dse*****> wrote: > > > However, when I tried to run my program, I noticed that $0 is not what > > it used to be. > please use Exerb.filepath method. > > foo.rb: > p(Exerb.filepath) > > foo.rbc > script foo.rb > > $ exerb.rb foo.rbc > $ ./foo.exe > "c:\\documents\\personal\\dev\\exerb\\exerb-dev\\tmp\\foo.exe" Thanks for the reply. However, I do not seem to be able to locate the filepath method. What do I need to load/require for this? Is there also some way to do the same without making my script depend on Exerb? As I said, I would consider this to be a bug... Ronald.