museuminabox / brain

Where the magic happens.
4 stars 0 forks source link

"killall play" is returning an error #127

Open Rjevski opened 4 years ago

Rjevski commented 4 years ago

In the Node Red flow, killall play is sometimes returning an error, presumably because the command returns a non-zero exit code if there's no process to be killed by that name. I'm concerned that this might be messing up the Node Red flow. I suggest the error handling on that node be disabled, or the exit code 1 be ignored and considered as a success. It might also be good to add the -w command-line switch to make the command block until the process is actually killed before moving on with the flow.