Hi Nicolas,

On Fri, Sep 16, 2011 at 09:44, Nicolas Michel <[email protected]> wrote:

>
> Sometimes, I wanto to execute remote command, get the output in a python
> variable, parse the data into python then print some things with print("").
> In these cases, I don't want fabric to display the command and its output to
> my terminal when executing from tha "fab" command. Is it possible? I
> searched for any information in the doc but didn't found anything.
>

I suggest that you look at the "hide" context manager:
http://docs.fabfile.org/en/1.2.0/api/core/context_managers.html#fabric.context_managers.hide

Check the "Output control" section too:
http://docs.fabfile.org/en/1.2.0/usage/output_controls.html

Hope this helps,

-- 
Ronan Amicel
http://topixtream.com/
_______________________________________________
Fab-user mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to