# Exec node can't execute the command but terminal does

**URL:** https://discourse.nodered.org/t/exec-node-cant-execute-the-command-but-terminal-does/60892
**Category:** General
**Created:** [6 April 2022 18:57 UTC](https://discourse.nodered.org/t/exec-node-cant-execute-the-command-but-terminal-does/60892 "2022-04-06T18:57:56Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [7 April 2022 07:05 UTC](https://discourse.nodered.org/t/exec-node-cant-execute-the-command-but-terminal-does/60892/11 "2022-04-07T07:05:24Z")

</div>

It might not be a file path problem but make sure you've tested that all out 1st

When running audio stuff from the exec node - you sometimes have to be explict about specifying what audio hardware to use.

I play an mp3 via an exec node and had to add in lots of stuff to get it work

```auto
mpg123 -a plughw:1,0 alexa.mp3

```

You might have to do something similar to hear your speech

It took a lot of googling to find out how to get mine to work

---

_[View the full topic](https://discourse.nodered.org/t/exec-node-cant-execute-the-command-but-terminal-does/60892)._
