C
Christian
Hello
I have got some Mac Application that I want to start with some parameters
....
ProcessBuilder pb = new
ProcessBuilder(tooFreeApp.getPath(),"-data",myRootPath.getPath(),apparguments);
pb.redirectErrorStream(true);
process = pb.start();
BufferedReader i = new BufferedReader(new InputStreamReader(
process.getInputStream() ) );
String read;
while (null != (read =i.readLine())) {System.out.println(read);}
....
the code above seems to work on windows with some .exe file but not on
mac with the corresponding .app file.
Someone got an idea what I could do?
Christian
I have got some Mac Application that I want to start with some parameters
....
ProcessBuilder pb = new
ProcessBuilder(tooFreeApp.getPath(),"-data",myRootPath.getPath(),apparguments);
pb.redirectErrorStream(true);
process = pb.start();
BufferedReader i = new BufferedReader(new InputStreamReader(
process.getInputStream() ) );
String read;
while (null != (read =i.readLine())) {System.out.println(read);}
....
the code above seems to work on windows with some .exe file but not on
mac with the corresponding .app file.
Someone got an idea what I could do?
Christian