SpotCMD cydia tweak brings spotlight launch bash commands & actions.
You can run bash commands as root from the spotlight and you can even throw the whole script as root. You only have to write the command to launch the script in the background … attach the & symbol at the end of the command. example, run a script that I know prova.sh located in / var / mobile :
In the background: