throw new IOException("Exec error", ex);
final IOException ioe = new IOException("Exec error"); ioe.initCause(ex); throw ioe;
	public Process exec(String[] cmdarray, String[] envp) throws IOException {		String command = cmdarray[0];		SecurityManager s = System.getSecurityManager();		if (s != null)			s.checkExec(command);		if (envp == null) {			envp = new String[0];		}		String mainClassName = cmdarray[0];		String[] cmdArgs = new String[cmdarray.length - 1];		System.arraycopy(cmdarray, 1, cmdArgs, 0, cmdArgs.length);		try {			final Process p =				VmProcess.createProcess(mainClassName, cmdArgs, envp);			if (p == null) {				throw new IOException("Exec error");			} else {				return p;			}		} catch (Exception ex) {			throw new IOException("Exec error", ex);		}	}