3 ms·
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 f
by p3llin0r3 8y ago
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/ http://www.pyinvoke.org/
Works great!!
- TheGrassyKnoll 8y agoI'll have to try that one. I've done a few things with: Python process launching http://amoffat.github.com/sh http://amoffat.github.com/sh
- p3llin0r3 8y agoI worked with `sh` for a while. I strongly prefer invoke. It handles signal processing and TTY flawlessly. 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
- theamk 8y agoBe careful with sh library! It runs the programs under tty by default, so you get random effects like ascii color sequences and truncated git output. There is an option to change this, but it not default, and it is easy to forget it.