Re: [Fab-user] Collecting output when using Fabric directly in python

2009-08-18 Thread Yann Malet
Jeff, This is nice improvement but I would like to see if possible is to capture both stdout and stderr into 2 python variables once a fabric Task is executed. Could you please help me to understand how you would do this and ideally without touching the *fabfile.py* I am going to take an example

[Fab-user] Can I pass in information from the command-line to my functions?

2009-08-18 Thread Matthew Wilson
Right now, when I upgrade my production box to the next version of my web app, I run a set of commands manually. I'm working on converting all this to using fabric. Here's the commands I run to upgrade my web app from revision 13 to revision 14: $ sudo supervisorctl stop all # this shuts down a