Permalink
Browse files

Adds David Pratt to new CONTRIBUTORS section.

  • Loading branch information...
1 parent 3f971bf commit 79690a588c6dcacad87b73b2742bf5f9de06d6a1 @tsmith committed Jul 16, 2011
Showing with 9 additions and 3 deletions.
  1. +9 −3 README
View
12 README
@@ -294,7 +294,7 @@ exit code and handle both zero and non-zero exits within a single callback.
-CUSTOM LISTENERS
+CUSTOM STDOUT & STDERR LISTENERS
When running a command with ssh() on a remote device, controller objects listen
to the stdout and stderr of the process running on the remote device through
@@ -321,7 +321,7 @@ stdout.on() pattern looks unfamiliar. Controllers also provide a stderr.on()
for attaching custom listeners to the stderr stream.
You can respond to prompts and errors as they happen in the remote process
-through the remote process stdin stream similar to expect. An example of
+through the remote process stdin stream, similar to expect. An example of
responding to a prompt through the stdin of the remote process:
task('stdin', 'Test controller stdin usage', function (controller) {
@@ -341,7 +341,7 @@ task('stdin', 'Test controller stdin usage', function (controller) {
The controller only uses custom listeners for the next ssh() or scp() call.
Further ssh() or scp() calls will not attach the custom listener unless it is
reattached via controller.stdout.on() or controller.stderr.on() before the next
-call. This avoids unanticipated usage of one-off listeners such as filling the
+call. This avoids unanticipated usage of one-off listeners, such as filling the
datestring variable in the first example with the output of every subsequent
ssh() command executed by the controller.
@@ -630,6 +630,12 @@ machine if running a local sshd.
+CONTRIBUTORS
+
+* David Pratt (https://github.com/fairwinds)
+
+
+
FEEDBACK
Welcome at node@thomassmith.com or the Node mailing list.

0 comments on commit 79690a5

Please sign in to comment.