public static String cmdInterpreter(String[] arg) {

		try {

			// String[] cmd = new String[arg.length + 2];
			// System.arraycopy(BASH_CMD, 0, cmd, 0, BASH_CMD.length);
			// System.arraycopy(arg, 0, cmd, BASH_CMD.length, arg.length);

			for (String str : arg)
				System.out.print(str + " ");

			Process p = Runtime.getRuntime().exec(arg);
			p.waitFor();
			BufferedReader br = new BufferedReader(new InputStreamReader(
					p.getInputStream()));
			StringBuilder sb = new StringBuilder("");
			String line;
			while ((line = br.readLine()) != null) {
				sb.append(line + "\n");
			}

			return sb.toString();

		} catch (Exception e) {

			e.printStackTrace();
			return "nope";

		}

	}