Every attempt ends with:
java.io.IOException: java.io.IOException: Cannot run program “/bin/bash”: CreateProcess error=2, The system cannot find the file specified
What am I missing?? Only see the error on Designer, Client just acts as thought there is no script on the button. (Yes same PC).
Thanks
system.util.execute does work on the gateway scope, where Perspective scripts run, but keep in mind that’s the gateway scope - so your execute call is happening on the gateway, not locally to your clients. Also, your Ignition service is likely running with a different PATH than you have in a standard logon session.