icegem-core/src/main/java/com/googlecode/icegem/utils/JavaProcessLauncher.java
private Process startProcess(String id, Class<?> klass, String[] javaArguments,
			String[] processArguments, boolean withConfirmation)
			throws IOException, InterruptedException {
		List<String> arguments = createCommandLineForProcess(klass,
				javaArguments, processArguments);

		Process process = new ProcessBuilder(arguments).start();

		redirectProcessStreams(id, klass, process, !withConfirmation);

		return process;
	}
private Process startProcess(String id, Class<?> klass, String[] javaArguments,
			String[] processArguments, boolean withConfirmation)
			throws IOException, InterruptedException {
		List<String> arguments = createCommandLineForProcess(klass,
				javaArguments, processArguments);

		Process process = new ProcessBuilder(arguments).start();

		redirectProcessStreams(id, klass, process, !withConfirmation);

		return process;
	}
Starts process based on specified class using command line arguments.
This process inherits a classpath from parent VM that starts it.

@param klass
of type Class
@param javaArguments
of type String[]
@param processArguments
of type String[]
@param withConfirmation
of type boolean
@return Process
@throws IOException
when
@throws InterruptedException
when