• Post Reply Bookmark Topic Watch Topic
  • New Topic

To call a javascript function using shell script  RSS feed

 
Nina Ashburn
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
There is a function - generateReport() in javascript file which I need to activate using a shell script. What is the syntax in shell script that would call this function and how do we write this script? Any help from you will be highly appreciated.
Thanks and Regards,
NINA
 
Tim Holloway
Saloon Keeper
Posts: 18789
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need a JavaScript interpreter if you're going to run a JavaScript program. Offhand, I don't know of any that run stand-alone - they're all in web clients or servers. Then again, I haven't been looking for one...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!