JavaFind.net    ver 1.3 (2014/12/23) Library 349     Package 18,754     Class 215,432     Method 1,817,401   
   Apache Commons Exec
http://commons.apache.org/proper/commons-exec/
Executing external processes from Java is a well-known problem area. It is inheriently platform dependent and requires the developer to know and test for platform specific behaviors, for example using cmd.exe on Windows or limited buffer sizes causing deadlocks. The JRE support for this is very limited, albeit better with the new Java SE 1.5 ProcessBuilder class.
Reliably executing external processes can also require knowledge of the environment variables before or after the command is executed. In J2SE 1.1-1.4 there is not support for this, since the method, System.getenv(), for retriving environment variables is deprecated.
There are currently several different libraries that for their own purposes have implemented frameworks around Runtime.exec() to handle the various issues outlined above. The proposed project should aim at coordinating and learning from these initatives to create and maintain a simple, reusable and well-tested package. Since some of the more problematic platforms are not readily available, it is my hope that the broad Apache community can be a great help.
   Version 1.3
Source commons-exec-1.3-src.tar.gz
Binary commons-exec-1.3-bin.tar.gz
JavaDoc /library/54/commons-exec-1.3/apidocs/ Package 4, Class 32, Method 194
   Version 1.2
Source commons-exec-1.2-src.tar.gz
Binary commons-exec-1.2-bin.tar.gz
JavaDoc /library/54/commons-exec-1.2/apidocs/ Package 4, Class 31, Method 192
   Version 1.1
Source commons-exec-1.1-src.tar.gz
Binary commons-exec-1.1-bin.tar.gz
JavaDoc /library/54/commons-exec-1.1/apidocs/ Package 4, Class 31, Method 189






 Contact Us