Created
March 7, 2012 23:28
-
-
Save mitchellh/1997201 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vm.channel.execute("tail -f /some/growing/fail") do |type, data| | |
# type is one of [:stdout, :stderr, :exit_status] | |
# data is a string for stdout/stderr and an int for exit status | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment