alsa-project/alsa-utils issue #149 was opened from juggledad: amixer version 1.2.4 Raspberry Pi Zero W v1.1 Raspbian GNU/Linux 11 (bullseye) - desktop version Node-RED v2.2.2 This was discovered using an `exec` node in on a The exec node runs a command and returns its output. When running a test, I wanted to get the amixer version. There are two ways to ask `amixer` for it's version number 1 - use 'amixer -v' 2 - use 'amixer --version` Both returned the version number but had a Return Code of 1. All other 'amixer' commands (like 'amixer -h` or `amixer --help') return with a '0'. Here is a copy of the node-red flow that was used: ` [{"active":true,"complete":"true","console":false,"id":"38409c9414d4fb0b","name":"stdout","statusType":"auto","statusVal":"","targetType":"full","tosidebar":true,"tostatus":false,"type":"debug","wires":[],"x":730,"y":80,"z":"58ad38887591e1b1"},{"active":true,"complete":"true","console":false,"id":"de852fbd07407b7a","name":"stderr","statusType":"auto","statusVal":"","targetType":"full","tosidebar":true,"tostatus":false,"type":"debug","wires":[],"x":730,"y":120,"z":"58ad38887591e1b1"},{"active":true,"complete":"true","console":false,"id":"42faac21ce0190b3","name":"return code","statusType":"auto","statusVal":"","targetType":"full","tosidebar":true,"tostatus":false,"type":"debug","wires":[],"x":750,"y":160,"z":"58ad38887591e1b1"},{"crontab":"","id":"84f238ce5b65227d","name":"","once":false,"onceDelay":0.1,"payload":"amixer -v","payloadType":"str","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","topic":"","type":"inject","wires":[["05c0a4eb46c0c1c8"]],"x":180,"y":60,"z":"5 8ad38887591e1b1"},{"crontab":"","id":"fabfd7b565392096","name":"","once":false,"onceDelay":0.1,"payload":"amixer -h","payloadType":"str","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","topic":"","type":"inject","wires":[["05c0a4eb46c0c1c8"]],"x":180,"y":180,"z":"58ad38887591e1b1"},{"crontab":"","id":"c54064c5cc3b2484","name":"","once":false,"onceDelay":0.1,"payload":"amixer --version","payloadType":"str","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","topic":"","type":"inject","wires":[["05c0a4eb46c0c1c8"]],"x":200,"y":120,"z":"58ad38887591e1b1"},{"addpay":"payload","append":"","command":"","id":"05c0a4eb46c0c1c8","name":"","oldrc":false,"timer":"","type":"exec","useSpawn":"false","winHide":false,"wires":[["38409c9414d4fb0b"],["de852fbd07407b7a"],["42faac21ce0190b3"]],"x":490,"y":120,"z":"58ad38887591e1b1"}] ` Issue URL : https://github.com/alsa-project/alsa-utils/issues/149 Repository URL: https://github.com/alsa-project/alsa-utils