共有 0 个贴子
没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > jexem |
jexem
|
0 | 0 | 167 |
贡献者 | 讨论 | 代码提交 |
A utility that enables process control both locally and remote
Simple ExampleCommandExecution commandExecution = CommandExecutionFactory
.createLocalCommandExecution("ps", "-aef");
// a 1 second timeout
commandExecution.executeCommand(1000);
// if we had errors
if (commandExecution.getExitStatus() != 0) {
System.err.println("Error: "+commandExecution.getErrorOutput());
}
else {
System.out.printly("Output: "+commandExecution.getOutput());
}Adding jexem to your POMThe dependency:
dnl.jexem
jexem-core
0.1
And add the following repository:
jexem
http://jexem.googlecode.com/svn/trunk/repo/