Call script in host mashine

Hi

I have a script I can run if I SSH to my Home Assistance, or use the terminal from the menu.
But I can’t find the script from Node Red? How can I call this script from Node Red?

Is node red running in a sperate container?
if I call ls $HOME I have another result than if I run ls $HOME from the terminal?
Both are root user ?

I run Home Assistance OS installed on a Raspberry 3.

The script would have to be in a folder that is visible to Node Red - “/config” would be a good option. Assuming you’re using the NR add-on, all add-ons run in their own container, and therefore have limited visibility to the file system.