خرید بک لینک

Vote count: 0

I want to show stdout for my local program, which uses fabric to run two remote programs. I want to hide the stdout for the two remote programs. (I know there is a hide output option). However, I do want to show one of the print statements (can be grepped) from one of the two remote programs.

How can I do this?

The structure is as follows:

Process 1:

with settings ():
    run(cmd)

start Process 1


Process 2:

with settings ():
    run(cmd)

Start Process 2

I can probably do:

with hide('output'):
    run(cmd)

But that hides the output of the remote program completely. I want to be able to show one particular stdout line from one of the remote programs.

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 9 تير 1395 ساعت: 12:47

صفحه بندی