Hello, had a quick question, what is the best way to execute an OS command with this emulator? I have the following but it falls short of executing:

OS.execute("bash", ["~/RetroPie/scripts/killgodot.sh"], true, output)

the script contents are:

ps -ef | awk '/godot-engine/ {print $2}' | xargs kill

it simple looks for the emulator in the process list and kills it, so I can switch games with it being a custom launcher.
Figuring this out would also help in launching games :)

Thank you,