fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Limiting stdout


From: Jorge Vargas
Subject: Re: [Fab-user] Limiting stdout
Date: Thu, 6 Jun 2013 19:27:01 -0400

have you seen this part of the docs http://fabric.readthedocs.org/en/1.2.0/usage/output_controls.html#hiding-and-or-showing-output-levels You can do 
with settings(hide(...)):
    run(...)


On Thu, Jun 6, 2013 at 7:20 PM, Chris Koch <address@hidden> wrote:
I'm issuing a 'run' to a target Ubuntu machine to execute dpkg to install a package. The output I get looks like this:

[ubuntu] out: (Reading database ... 
[ubuntu] out: (Reading database ... 5%
[ubuntu] out: (Reading database ... 10%
[ubuntu] out: (Reading database ... 15%
[ubuntu] out: (Reading database ... 20%
[ubuntu] out: (Reading database ... 25%
[ubuntu] out: (Reading database ... 30%
[ubuntu] out: (Reading database ... 35%
[ubuntu] out: (Reading database ... 40%
[ubuntu] out: (Reading database ... 45%
[ubuntu] out: (Reading database ... 50%
[ubuntu] out: (Reading database ... 55%
[ubuntu] out: (Reading database ... 60%
[ubuntu] out: (Reading database ... 65%
[ubuntu] out: (Reading database ... 70%
[ubuntu] out: (Reading database ... 75%
[ubuntu] out: (Reading database ... 80%
[ubuntu] out: (Reading database ... 85%
[ubuntu] out: (Reading database ... 90%
[ubuntu] out: (Reading database ... 95%
[ubuntu] out: (Reading database ... 100%
[ubuntu] out: (Reading database ... 98555 files and directories currently installed.)
[ubuntu] out: Preparing to replace some-package 1.2.3+45 (using some-package_1.2.3+56.deb) ...
[ubuntu] out:

Is there any way to filter out all those percentage lines, or at least not insert a newline at the end, so that it mimics the output of a direct execution?

Thanks.


Chris

_______________________________________________
Fab-user mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fab-user



reply via email to

[Prev in Thread] Current Thread [Next in Thread]