Java N Coffee

Monday, June 23, 2008

Batch/Shell Scripts

I wanted to execute a shell script which had input values with space eg: "Test Client".I was baffled for sometime by using wrong method, the method with which I succeeded was


Runtime.getRuntime().exec(String cmdarray[])

providing shell script and the input parameters in cmdarray[]

Labels: , , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]



<< Home