Hi I hope this is the correct place for suggestions to Commons Exec.
CommandLine Many command line arguments come in pairs, at the moment I have to call addArgument() twice for each component in the paired argument, which is slightly messy + could lead to problems if one of the pair is commented out later. Suggestion Add a 2 arg addArgument method for adding 2 command line arguments in one. (or perhaps use varargs?) example :- Before CommandLine userAddCL = new CommandLine("useradd"); userAddCL.addArgument("-g"); userAddCL.addArgument("tomcat"); userAddCL.addArgument(username); After CommandLine userAddCL = new CommandLine("useradd"); userAddCL.addArgument("-g", "tomcat"); userAddCL.addArgument(username); Peter Henderson. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]