Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 94426
BY: Tim Nicholson (nichot20)
DATE: 2010-08-03 09:01
SUBJECT: Passing paramters to a script (not ocra)

 

running:-
ocrasa.rb somecript.rb scriptparameter

does not work as ocra interprets the parameter as a file to work on, not as a parameter belonging to somescript.rb.

Putting quotes round "somecript.rb scriptparameter" and it trys to interpret the whole string as one filename.

Is there anyway out of this?


Thread View

Thread Author Date
Passing paramters to a script (not ocra)Tim Nicholson2010-08-03 09:01
      RE: Passing paramters to a script (not ocra)Lars Christensen2010-08-04 13:56
      RE: Passing paramters to a script (not ocra)Bernard Kenik2010-08-04 19:03
            RE: Passing paramters to a script (not ocra)Tim Nicholson2010-08-05 07:26
                  RE: Passing paramters to a script (not ocra)Jarmo Pertman2010-08-06 06:50
                        RE: Passing paramters to a script (not ocra)Tim Nicholson2010-08-06 08:59
                              RE: Passing paramters to a script (not ocra)Jarmo Pertman2010-08-07 13:10
                                    RE: Passing paramters to a script (not ocra)Tim Nicholson2010-08-09 06:50

Post a followup to this message