try using http://readthedocs.org/docs/fabric/en/1.2.0/api/core/context_managers.html#fabric.context_managers.hide
On 16 January 2012 04:13, Paul Hoffman <[email protected]> wrote: > Greetings. I want to handle the text that a command that is run gives; > I don't want the user to see it. For example: > > TheUname = run("uname -a") > > This prints out: > [[email protected]] run: uname -a > [[email protected]] out: Linux green 2.6.32-37-generic #81-Ubuntu SMP > Fri Dec 2 20:32:42 UTC 2011 x86_64 GNU/Linux > > Instead, I want it to print out nothing, but I will poke at TheUname > and get what I need. > > Clues on how to do this? > > --Paul Hoffman > > _______________________________________________ > Fab-user mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/fab-user _______________________________________________ Fab-user mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/fab-user
