From b9f3ae23cfffbeba5697b652689bc8e51bf0fe63 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 23 Jun 2009 10:26:17 +0200 Subject: [PATCH] Fix some typos in the docs --- website/api.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/api.html b/website/api.html index 7b8236962b..bd89007a2e 100644 --- a/website/api.html +++ b/website/api.html @@ -167,7 +167,7 @@ At the moment the received data is always a string and utf8 encoded. (More encodings will be supported in the future.) -

If the process closes it's stdout, this callback will +

If the process closes its stdout, this callback will be issued with null as an argument. Be prepared for this possibility. @@ -177,14 +177,14 @@ At the moment the received data is always a string and utf8 encoded. (More encodings will be supported in the future.) -

If the process closes it's stderr, this callback will +

If the process closes its stderr, this callback will be issued with null as an argument. Be prepared for this possibility.

process.onExit = function (exit_code) { };
-
A callback which is called when the sub-process exits. The argument - is the exit status of the child. +
A callback which is called when the child process terminates. + The argument is the exit status of the child.
process.write(data, encoding="ascii");
@@ -194,7 +194,7 @@
process.close();
-
Closes the processes stdin stream.
+
Closes the process's stdin stream.
process.kill(signal=node.SIGTERM);
Kills the child process with the given signal. If no argument is