Hello,
I am trying to write a java program that will start up ped(the qnx text
editor screen). For some reason, this code doesn’t work on QNX, but when i
try to run notepad.exe on widndows instead, it works. Please help me out.
Thanks
Runtime rt = Runtime.getRuntime();
String cmd = “ped”;
try {
Process pro = rt.exec(cmd);
System.out.println("Process exit code is: " + pro.exitValue());
}catch(IOException ioe) {
System.err.println("IOException: " + ioe);
}
When i run this program, i just get the error message:
“IOException: java.io.IOException: Unable to start program”
Thanks in advance!