hi, Cameron

   very thanks for ur answer!!

peggy


"Cameron McCormack" <[email protected]> wrote in message news:[email protected]...
peggy wrote:
coz i have arguments with the javascript file, like as ex1.js arg1(ex2.js arg2), how can i cat those js files.

The shell can only take a single list of arguments to pass to all of the scripts it runs. You will need to either change your scripts so that they can all work off the same 'arguments' array or write your own small Java program that loads the script files and passes the relevant list of arguments to each of the scripts.

_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to