Is it possible to read a return value from a shell script? I have a number of working shell scripts in configuration.yaml that control my NAD preamp, which are all in this general form:
These are all “send only” though. According to the NAD manual, I should be able to query the state of some items (such as power, source etc.) as well as just set them. This involved just replacing the “=value” in the command with “?”, like this:
This command runs without any errors, but I can’t see anywhere in the logs or events that the return value is captured or displayed. Am I just looking in the wrong place or is this just not possible?