Execute script from groov Manage

Is there a way to run a python or bash script straight from groov Manage? I am trying to execute a list of linux commands without using Node-RED or having shell access.

In short. No.

Why are you not looking at using Node-RED? The exec node makes it pretty clean and straight forward to do this.
Shell I understand, but I’d love to hear your thoughts on not using Node-RED if you have a moment.

The idea is to modify the existing Node-RED flows file without having to open Node-RED. The script is reading the flows file, making changes, writing it back, then restarting the Node-RED service.

We are looking for ways to roll out a fix for a file corruption issue and are trying to find the easiest way to do it.

Ah, Ok, yeah, tough to have Node-RED modify and restart itself.
Need something like the FlowFuse agent for that sort of thing…