|
From: | Ian Stokes-Rees |
Subject: | [Fab-user] redirecting output of run() and sudo() commands |
Date: | Wed, 19 Jun 2013 12:20:56 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
This is a great resource for this issue: http://docs.fabfile.org/en/latest/usage/output_controls.html and thanks to it, I now have fabric commands that look like:
If I want to capture stdout to a file, is the way to do this to write my own context manager? http://docs.fabfile.org/en/latest/api/core/context_managers.html TIA! Ian |
[Prev in Thread] | Current Thread | [Next in Thread] |