I want to capture the output into java varible of one of the command line statement. The command line statement is as below:
..\_jvm\bin\java.exe -cp ..\DataLoader.jar com.salesforce.lexiloader.security.EncryptionUtil <option> <password>
Infact this is the command line utility thru which I encrypte my password, if i do manually.
But I want to use this command into my java application and want to capture the output in one variable.
Please help with some example code.