Dear All,
I'm developing a small Java application which will use Espeak to speak certain text. Now I pass the test as command line argument
$espeak -s 50 "a for apple"
It works perfect on command line
Now in my program, I've used
String cmd = "espeak -s 50 \"A for apple\"";
Then I use this string as
Process p = Runtime.getRuntime().exec(cmd);
Instead of playing 'A for apple' this plays onle 'A', I've tried with \\ but it says
a backslash. So what we need to include is a way to let espeak know of space and remaining string. Please help me about how to do this.
Thanks in Advance.
Vaibhav Dalvi