On Tue, Sep 09, 2008 at 11:50:09PM -0700, Martin DeMello wrote:
> I know - it's just that its argv handling is inconsistent with respect
> to ruby's with what seems like no very good reason.

Here's a hack for you.  You can call Ruby directly using the --ruby
flag in the latest:

  $ ./shoes --ruby -v
  ruby 1.8.7 (2008-05-31 patchlevel 0) [i686-linux]
  $ ./shoes --ruby --copyright
  ruby - Copyright (C) 1993-2008 Yukihiro Matsumoto
  $ ./shoes --ruby -e 'p ARGV' -- -1
  ["-1"]

Beyond that, you can pass in arguments to the Shoes app by placing
them after the double-dash:

  $ ./shoes testargv.rb -- -1
  ["testargv.rb", "-1"]

_why

Reply via email to