Search Results

Search: Posts Made By: lakshman.forums
Forum: Red Hat 05-23-2011
5,683
Posted By lakshman.forums
Calling BASH script from JAVA
Hi,

I am trying to call a bash script from a java file.

Code to call bash script will look like:

Runtime runtime = Runtime.getRuntime();
Process process = runtime.exec("mybashfile.sh");
...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 07:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy