Implemented Runtime.exec, Process.waitFor and Process.exitValue for non-windows

This commit is contained in:
James Sanders
2007-11-30 16:39:51 -07:00
parent 266c256116
commit 3f8a370ba8
3 changed files with 187 additions and 16 deletions

View File

@ -49,8 +49,6 @@ public class Runtime {
return new MyProcess(process[0], (int) process[1], (int) process[2], (int) process[3]);
}
//private static native void exec(String command, int[] process);
private static native void exec(String[] command, long[] process);
private static native int exitValue(long pid);