String line = null;
String line;
	private static int pumpExec(Process p, StringBuffer output) throws InterruptedException, IOException {		DataInputStream out = new DataInputStream(new BufferedInputStream(p.getInputStream()));		DataInputStream err = new DataInputStream(new BufferedInputStream(p.getErrorStream()));		int exitValue = p.waitFor();		String line = null;		while ((line = out.readLine()) != null) {			Log.log(Log.LEVEL_TRACE, MODULE, "Out: " + line);			if (output != null) {				output.append(line).append("\n");			}		}		while ((line = err.readLine()) != null) {			Log.log(Log.LEVEL_TRACE, MODULE, "Err: " + line);		}		Log.log(Log.LEVEL_TRACE, MODULE, "Returned with value " + exitValue);		return exitValue;	}