more library/menu work.. almost have video working properly

This commit is contained in:
benfry
2004-09-13 04:17:01 +00:00
parent 9e3cd0b6a9
commit 22ece1563c
6 changed files with 111 additions and 93 deletions

View File

@@ -93,7 +93,8 @@ public class PdeRuntime implements PdeMessageConsumer {
"-Djava.library.path=" +
// sketch.libraryPath might be ""
// librariesClassPath will always have sep char prepended
sketch.libraryPath + PdeSketchbook.librariesClassPath,
sketch.libraryPath + PdeSketchbook.librariesClassPath +
File.pathSeparator + System.getProperty("java.library.path"),
"-cp",
sketch.classPath + PdeSketchbook.librariesClassPath,
"processing.core.PApplet",
@@ -102,6 +103,10 @@ public class PdeRuntime implements PdeMessageConsumer {
sketch.mainClassName
};
//for (int i = 0; i < command.length; i++) {
// System.out.println(i + " = " + command[i]);
//}
//PApplet.println(PApplet.join(command, " "));
process = Runtime.getRuntime().exec(command);
new SystemOutSiphon(process.getInputStream());