This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Process process;
int origPriority;
Thread current = Thread.currentThread();
/* for WIN 98 it is nessesary to change priority to NORM_PRIORITY when starting external proces and then swith it back
see bug 4086045
*/
origPriority = current.getPriority();
current.setPriority(Thread.NORM_PRIORITY);
return Runtime.getRuntime ().exec (call);
try {
--
process = Runtime.getRuntime ().exec (call);
}
catch(IOException ioEx){
current.setPriority(origPriority); //return priority to original
throw ioEx;
return process;
return Runtime.getRuntime ().exec (call, envp);
process = Runtime.getRuntime ().exec (call, envp);
return (Process) m.invoke (Runtime.getRuntime (), new Object[] { call, envp, cwd });
process = (Process) m.invoke (Runtime.getRuntime (), new Object[] { call, envp, cwd });
throw new IOException (NbBundle.getBundle (NbProcessDescriptor.class).getString ("EXC_no_JDK13_exec"));
current.setPriority(origPriority);
} catch (Exception e) {