Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Writing to text to an external processes.

35 views
Skip to first unread message

WJG

unread,
Jun 18, 2013, 9:54:14 AM6/18/13
to
At the moment I'm using espeak on my Linux box to readaloud single lines. The line of my code to achieve this is:

set pid [exec espeak -a $a -s $s -b $b -m [list $t] &]

But, espeak has a --stdin to read aloud words entered at the console. How can I do this? How do I write a string out to this process.

Thanks.

WJG

Arjen Markus

unread,
Jun 18, 2013, 9:57:14 AM6/18/13
to
Op dinsdag 18 juni 2013 15:54:14 UTC+2 schreef WJG het volgende:
Look up the open and fileevent commands on the Wiki or in the man pages.
This will allow you to open a (two-way) connection to an external process,
rather than simply start a process and wait for the completion.

Regards,

Arjen

WJG

unread,
Jun 18, 2013, 11:14:30 AM6/18/13
to
Thanks Arjen

Got the open command working, just fileevent to go!

Will
0 new messages