private String printOutput(Process process) {
		BufferedReader stdInput = new BufferedReader(
				new InputStreamReader(process.getInputStream()));
		BufferedReader stdError = new BufferedReader(
				new InputStreamReader(process.getErrorStream()));
		String line, output = "", error = "";
		try {
			while ((line = stdError.readLine()) != null) {
				error += (line + "\n");
			}
			while ((line = stdInput.readLine()) != null) {
				output += (line + "\n");
			}

			if (!output.equals(""))
				System.out.println(output);
			if (!error.equals(""))
				System.out.println(error);

			if (output.contains("in list"))
				return output.substring(0, 1);

		} catch (IOException e) {
			e.printStackTrace();
		}
		return "";
	}