It needs to escape text.
novogrammer opened this issue · 1 comments
novogrammer commented
Hi,
For the darwin platform, It needs to escape the text.
Usage: say [-v voice] [-o out] [-f in | message]
let text="-findex.js";
//say.speak(text);
say.speak('"'+text.replace(/"/g,'\\\"')+'"');