Recently I've replaced most of my bash scripting with the python library invoke. It's written by the same people who wrote the python ssh scripting framework fabric. http://www.pyinvoke.org/ Works great!!
I'll have to try that one. I've done a few things with: Python process launching http://amoffat.github.com/sh
You can even get it to ssh into remote terminals and open a console and it works.
It's also a CLI builder where you can chain commands together