# Issue: PulseAudio command working with console but not in Exec node

**URL:** https://discourse.nodered.org/t/issue-pulseaudio-command-working-with-console-but-not-in-exec-node/46716
**Category:** General
**Created:** [5 June 2021 06:22 UTC](https://discourse.nodered.org/t/issue-pulseaudio-command-working-with-console-but-not-in-exec-node/46716 "2021-06-05T06:22:08Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![janedoe123](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@janedoe123](https://discourse.nodered.org/u/janedoe123)
#### Post date: [5 June 2021 11:25 UTC](https://discourse.nodered.org/t/issue-pulseaudio-command-working-with-console-but-not-in-exec-node/46716/14 "2021-06-05T11:25:30Z")

</div>

Ok folks,

I think I got it work but I don't know why... Is this a bug in node-red ?

I took the command `pactl load-module module-loopback latency_msec=1 source=1 sink=0 | multimon-ng -a DTMF /dev/stdin` and created a pulse.sh script as follows:

```auto
#!/bin/sh

pactl load-module module-loopback latency_msec=1 source=1 sink=0 | multimon-ng -a DTMF /dev/stdin

```

In the node-red exec node, I am calling the pulse.sh as follows:  
`/home/pi/Documents/pulse.sh`

Guess what ? It works!

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/8/783eb859b43c72387a1d5a46f8f1ba0936dbc572.png)

I really don't know why... That's worrying actually... Does anyone have any idea?

---

_[View the full topic](https://discourse.nodered.org/t/issue-pulseaudio-command-working-with-console-but-not-in-exec-node/46716)._
