Spawning a process from an app packaged with AppBundler impossible

Michael Hall mik3hall at gmail.com
Sun Jul 6 00:42:14 UTC 2014


On Jul 5, 2014, at 3:22 PM, Hendrik Schreiber <hs at tagtraum.com> wrote:

> Runtime.getRuntime().exec("/bin/echo");

I tried it a little more like you did. I'm not seeing results but I'm not seeing exceptions either.

dojava
try {
java.lang.Runtime.getRuntime().exec("/bin/echo");
}
catch (java.io.IOException ioex) { ioex.printStackTrace(); }
dojava: done
dojava
try {
java.lang.Runtime.getRuntime().exec(new String[] {"/bin/echo","foo"});
}
catch (java.io.IOException ioex) { ioex.printStackTrace(); }
dojava: done


Michael Hall

trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz

HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe

AppConverter convert Apple jvm to openjdk apps http://www195.pair.com/mik3hall/index.html#appconverter







More information about the macosx-port-dev mailing list