Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 134524
BY: Simon Ridley (ridders)
DATE: 2012-12-24 13:11
SUBJECT: RE: OCRA - Command Line argument

 

Ok, so I discovered that to do what I was after, I needed to do the following:

ruby -S ocra examplescript.rb --foo

However Im now finding that the argument provided gets packaged with the script, so when I execute the exe the output relates to the first argument provided when the exe was built, even If I provide the exe another argument I still get the same result. How can I solve this?


Thread View

Thread Author Date
OCRA - Command Line argumentSimon Ridley2012-12-22 15:58
      RE: OCRA - Command Line argumentSimon Ridley2012-12-24 13:11

Post a followup to this message