[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Fab-user] redirecting output.
From: |
Jeff Honey |
Subject: |
RE: [Fab-user] redirecting output. |
Date: |
Mon, 18 Oct 2010 13:27:25 -0400 |
The former would be nice but the latter would be a good start in the right
direction. When I looked in the API docs, I guess I wasn't real clear on what
happened to the command's output
"run will return the result of the remote program’s stdout as a single (likely
multiline) string. This string will exhibit a failed boolean attribute
specifying whether the command failed or succeeded, and will also include the
return code as the return_code attribute."
So, does this mean I can just open a file and simply redirect sys.stdout to the
file and I'll get what I'm looking for?
--
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
¤ kyoboku kazeoshi ¤
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤