Tuesday, July 10, 2012

How to call Sendpraat Programm in Java Code.............


How to call Sendpraat Programm in Java Code.............

I was able to solve this problem..........

My java code is following........

String[] sendpraatCom = new String[3]; 
sendpraatCom[0] = "./sendpraat"; 
sendpraatCom[1] = "praat"; 
sendpraatCom[2] = "execute " + "<filename.praat>"; 

Runtime run = Runtime.getRuntime();
run.exec(sendpraatCom);


Now it is working properly.......

Dileepa sisila chandrasekera.
Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka......

1 comment: