|
@ -53,9 +53,10 @@ These objects are available to all programs. |
|
|
+node.cwd()+:: |
|
|
+node.cwd()+:: |
|
|
Returns the current working directory of the process. |
|
|
Returns the current working directory of the process. |
|
|
|
|
|
|
|
|
+node.kill(pid, signal)+ :: |
|
|
+node.kill(pid, signal="SIGTERM")+ :: |
|
|
See kill(2). The standard POSIX signals are defined under the +node+ |
|
|
Send a signal to a process. +pid+ is the process id and +signal+ is the |
|
|
namespace (+node.SIGINT+, +node.SIGUSR1+, ...). |
|
|
signal to send; for example, "SIGINT" or "SIGUSR1". See kill(2) for more |
|
|
|
|
|
information. |
|
|
|
|
|
|
|
|
+node.compile(source, scriptOrigin)+:: |
|
|
+node.compile(source, scriptOrigin)+:: |
|
|
Just like +eval()+ except that you can specify a +scriptOrigin+ for better |
|
|
Just like +eval()+ except that you can specify a +scriptOrigin+ for better |
|
@ -471,10 +472,9 @@ specifies the encoding: possible values are +"utf8"+, +"ascii"+, and |
|
|
Closes the process's +stdin+ stream. |
|
|
Closes the process's +stdin+ stream. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+child.kill(signal=node.SIGTERM)+ :: |
|
|
+child.kill(signal="SIGTERM")+ :: |
|
|
Send a signal to the child process. If no argument is given, the process |
|
|
Send a signal to the child process. If no argument is given, the process |
|
|
will be sent +node.SIGTERM+. The standard POSIX signals are defined under |
|
|
will be sent +"SIGTERM"+. See signal(7) for a list of available signals. |
|
|
the +node+ namespace (+node.SIGINT+, +node.SIGUSR1+, ...). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|