Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | guestfish: Redirect stdout when executing remote commands | Matthew Booth | 2009-09-14 | 1 | -0/+12 |
| | | | | | | | | | | | guestfish --listen necessarily redirects its stdout to /dev/null so as not to interfere with eval. The remote protocol doesn't contain any other provision for collecting stdout for the caller, so executing guestfish --remote will never generate any output. This patch fixes that by forwarding the caller's STDOUT to the listener over the unix socket connection. The listener redirects its STDOUT to the caller's STDOUT for the duration of the command, then closes it again. | ||||
* | Guestfish feature: remote control of guestfish over a pipe. | Richard Jones | 2009-07-14 | 1 | -0/+34 |
The use case is to have a long-running guestfish process in a shell script, and thus to avoid the overhead of starting guestfish each time. Do: eval `guestfish --listen` guestfish --remote somecmd guestfish --remote someothercmd guestfish --remote exit This patch also supports having multiple guestfish processes at the same time. The protocol is simple XDR messages over a Unix domain socket. |