Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 3
    This is not about how to say with espeak or spd-say but how to catch that error when testing and say then, relate error and running let us say espeak. I cannot modify mycommand, just use tee, grep, espeak.. when running it in the shell. Commented Apr 21 at 13:59
  • @TimSO: Updated. Commented Apr 21 at 14:05
  • This does not work. mycommand occupies the terminal sending own output. When ERROR happens I assume it is OS. Not clear how piping works there. Commented Apr 21 at 14:12
  • @TimSO the error might go to stderr, in which case it needs to be redirected Commented Apr 21 at 14:14
  • Still it does not say anyhting. Commented Apr 21 at 14:26