Posts Tagged With: execute

Executing Jar Files

Tagged with: , , , ,

Execute a Java jar file


java -jar [file_name.jar]
No Comments »

Execute JavaScript files using Rhino

Tagged with: , , , ,

The command to execute a javascript file using rhino.


java -jar /path/to/custom_rhino.jar JS_File.js

Get Custom Rhino(From Dojo Library)

No Comments »

Get Result of Command using Python in Linux

Tagged with: , , , , , ,

Execute a command and get its results using python in Linux


import commands

result = commands.getoutput("ls")
No Comments »