writing shell script from java
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   praveen_madoori
Posted On:   Friday, January 4, 2002 07:48 AM

i am finding difficulty in writing and executing a shell script from java.can u give me the idea how to write and execute shell script from java?

Re: writing shell script from java

Posted By:   Anonymous  
Posted On:   Sunday, January 6, 2002 05:20 PM

Using the FileWriter class should allow you to write to a file. Then you should be able to use the Runtime.exec(scriptName.sh);
If you have tried this and it does not work, can you post your code?
About | Sitemap | Contact