capistrano/sshkit — pull request #61 by damphyr (2013-11-26 12:59:31+00:00)
Title: full_capture method

Allows access to command output and exit status
This is proof of concept, ideally this would be the capture() method's behaviour but we might break too many things by changing it.

As an aside, execute() behaves differently in Printer than in the classes derived from Printer:
Printer#execute returns the Command instance, while the Printer-derived backends return the value of Command#success?