Executing CLI commands from Java

Posted by Dolphin on Stack Overflow See other posts from Stack Overflow or by Dolphin
Published on 2010-06-05T19:07:34Z Indexed on 2010/06/05 19:12 UTC
Read the original article Hit count: 266

Filed under:
|
|
|
|

Hi

I have this API - which I managed to carryout some API steps solely from the CLI without using their GUI. Now I need to execute these CLI commands (i.e. for carrying out these API steps) in Java. When surfing, I couldn't find a helpful link for sample code on how to deal with this. May I know how to execute CLI commands using Java code (say in a Java class)

Appreciate any insight, suggestions or guidance. Many thanks in advance

© Stack Overflow or respective owner

Related posts about java

Related posts about code