public ConsoleReader(OSConsole console, String[] result)
	{
		CommandListener oldListener = console.getCommandListener();
		console.setCommandListener(this);
		
		this.result = result;
		result[0] = null;
		
		start();
		
		try
		{
			join();
		}
		catch (InterruptedException e) {}
		
		console.setCommandListener(oldListener);
	}