0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
Cross-platform JavaScript runtime environment https://nodejs.org/
Go to file
Sam Roberts 8aac118b69 process: document kill(0), disallow kill(O_RDWR)
The null signal test existed, but only tested the case where the target
process existed, not when it did not exist.

Also clarified that SIGUSR1 is reserved by Node.js only for receiveing,
its not at all reserved when sending a signal with kill().

kill(pid, 'O_RDWR'), or any other node constant, "worked". I fixed this
by also checking for 'SIG'. The same as done in the isSignal() function.
Now the signal names supported by process.kill() are the same as those
supported by process.on().
2013-12-02 10:41:37 -08:00
benchmark benchmark: Fix execArgv handling 2013-08-31 17:58:17 -07:00
deps npm: Upgrade to v1.3.15 2013-11-20 11:08:52 -08:00
doc process: document kill(0), disallow kill(O_RDWR) 2013-12-02 10:41:37 -08:00
lib events: fix TypeError in removeAllListeners 2013-11-22 17:42:34 +01:00
src process: document kill(0), disallow kill(O_RDWR) 2013-12-02 10:41:37 -08:00
test process: document kill(0), disallow kill(O_RDWR) 2013-12-02 10:41:37 -08:00
tools gyp: update to bebdcea 2013-11-10 15:15:34 -08:00
.gitattributes Explicitly disable cr/lf conversion for test fixtures 2011-08-10 19:59:37 +02:00
.gitignore tools: script release steps after jenkins build 2013-08-21 16:59:15 -07:00
.mailmap Update .mailmap and AUTHORS 2013-03-19 20:07:38 +01:00
.travis.yml test: add .travis.yml for testing on Travis CI 2011-12-05 16:50:55 -08:00
AUTHORS 2013.11.12, Version 0.10.22 (Stable) 2013-11-12 12:22:12 -08:00
BSDmakefile
ChangeLog 2013.11.12, Version 0.10.22 (Stable) 2013-11-12 12:22:12 -08:00
common.gypi build: include postmortem symbols on linux 2013-12-01 18:57:43 -08:00
configure gyp: update to bebdcea 2013-11-10 15:15:34 -08:00
CONTRIBUTING.md doc: clarify subsystems in CONTRIBUTING.md 2013-05-14 12:31:38 +02:00
LICENSE doc: Update LICENSE for npm's Artistic 2.0 2013-08-05 13:56:05 -07:00
Makefile gyp: update to bebdcea 2013-11-10 15:15:34 -08:00
node.gyp build: include postmortem symbols on linux 2013-12-01 18:57:43 -08:00
README.md doc: link to pre-built binaries, add install note 2013-10-01 08:37:32 +02:00
vcbuild.bat build: vcbuild.bat fix for Visual Studio 2012 2013-05-03 11:32:32 +02:00

Evented I/O for V8 javascript. Build Status

To build:

Prerequisites (Unix only):

* GCC 4.2 or newer
* Python 2.6 or 2.7
* GNU Make 3.81 or newer
* libexecinfo (FreeBSD and OpenBSD only)

Unix/Macintosh:

./configure
make
make install

If your python binary is in a non-standard location or has a non-standard name, run the following instead:

export PYTHON=/path/to/python
$PYTHON ./configure
make
make install

Windows:

vcbuild.bat

You can download pre-built binaries for various operating systems from http://nodejs.org/download/. The Windows and OS X installers will prompt you for the location to install to. The tarballs are self-contained; you can extract them to a local directory with:

tar xzf /path/to/node-<version>-<platform>-<arch>.tar.gz

Or system-wide with:

cd /usr/local && tar --strip-components 1 -xzf \
                     /path/to/node-<version>-<platform>-<arch>.tar.gz

To run the tests:

Unix/Macintosh:

make test

Windows:

vcbuild.bat test

To build the documentation:

make doc

To read the documentation:

man doc/node.1

Resources for Newcomers