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[]
Runtime.getRuntime().exec(String cmdarray[])
providing shell script and the input parameters in cmdarray[]
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home