icegem-core/src/main/java/com/googlecode/icegem/utils/JavaProcessLauncher.java
public int runAndWaitProcessExitCode(String id,
			Class<?> klass, String[] javaArguments, String[] processArguments)
			throws IOException, InterruptedException {
		Process process = startProcess(id, klass, javaArguments, processArguments,
				false);
		process.waitFor();
		return process.exitValue();
	}
public int runAndWaitProcessExitCode(String id,
			Class<?> klass, String[] javaArguments, String[] processArguments)
			throws IOException, InterruptedException {
		Process process = startProcess(id, klass, javaArguments, processArguments,
				false);
		process.waitFor();
		return process.exitValue();
	}
Runs process with arguments based on a specified class in a separate VM.
Waits while process is working and returns exit code after process
finished.
@param id TODO
@param klass
of type Class
@param javaArguments
arguments for java
@param processArguments
arguments for process

@return int
@throws IOException
when
@throws InterruptedException
when