I need to run UNIX script using JAVA.
Requirement is like that UNIX script will return an integer value and I have to read that integer value in java code and use that integer for further processing.
I don't have any idea about this. Please help me out of this situation with code example.

Thanks in advance.