public static void command(String command){
		boolean err = false;
		try{
			Process process = new ProcessBuilder(command.split(" ")).start();
			BufferedReader results = new BufferedReader(new InputStreamReader(process.getErrorStream()));
			String s;
			ArrayList<String> res = new ArrayList<String>();
			ArrayList<String> errs = new ArrayList<String>();
			while((s = results.readLine())!=null){
				res.add(s);
				System.out.println(s);
			}
			BufferedReader errors = new BufferedReader(new InputStreamReader(process.getErrorStream()));
			while((s = errors.readLine()) != null){
				System.err.println(s);
				errs.add(s);
				err = true;
			}
		}
		catch(Exception e){
			if(!command.startsWith("CMD /C"))
				command("CMD /C " + command);
		}
		if(err)
			throw new OSExecuteException("Errors executing" + command);
	}