I am trying to use Shoes, and I need to pass command line parameters to it (basically, my shoe application will be called from another previously existing application, and this will allow me to pre-fill some parts of the shoe). Should I then call it with the bin / shoes wrapper?
It seems I cannot pass arguments to wrap wrap (it combines all the parameters and tries to use the result as the name of the script path). And I cannot access the ARGV array.
Juraj.
Code example
Shoes.app do para "program: #{ARGV[0]}\n" para "arg1: #{ARGV[1]}\n" para "arg2: #{ARGV[2]}\n" end
shoes.run. , ./shoes.run test.app foo bar , :
shoes.run
./shoes.run test.app foo bar
program: test.app arg1: foo arg2: bar
. , , , ?
, , shoes . ,
shoes
shoes test.app -- foo bar
, .