public CommandPromptOutput runProcess(ArrayList<String> inputArgs) throws IOException, InterruptedException
	{
		ConsolePlugin plugin = ConsolePlugin.getDefault();
		IConsoleManager conMan = plugin.getConsoleManager();
		IConsole[] existing = conMan.getConsoles();
		MessageConsole console = null;// new MessageConsole("", null);

		String name = "My Console";

		for (int i = 0; i < existing.length && console == null; i++)
			if (name.equals(existing[i].getName()))
				console = (MessageConsole) existing[i];

		if(console == null)
		{
			console = new MessageConsole(name, null);
			console.activate();
		}
		//no console found, so create a new one

		conMan.addConsoles(new IConsole[]{console});				
		MessageConsoleStream stream = console.newMessageStream(); 

		setConsole(new PrintStream(stream));


		// execute the command
		SystemCommandExecutor commandExecutor = new SystemCommandExecutor(inputArgs);
		int result = commandExecutor.executeCommand();


		// get the stdout and stderr from the command that was run
		StringBuilder stdout = commandExecutor.getStandardOutputFromCommand();
		StringBuilder stderr = commandExecutor.getStandardErrorFromCommand();

		CommandPromptOutput results = new CommandPromptOutput(stdout, stderr, result);		
		
		return results;
	}