Sam Roberts
abe02553f2
doc: clarify Windows signal sending emulation
11 years ago
Timothy J Fontaine
ffb718b5a3
doc: clarify process on exit safe usage
11 years ago
Ron Korving
3917232030
docs: process.on('exit') receives exit code
The fact that the "exit" event passes the exit code as an argument
as omitted from the documentation. This adds the explanation and
augments the example code to show that.
11 years ago
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().
11 years ago
Sam Roberts
155df9ca76
doc: document node signal handling
Partly lifted from uv.h, partly from observation of node.cc.
11 years ago
Ben Noordhuis
7c554a5cd0
doc: document reserved status of SIGUSR1
Fixes #1212 .
11 years ago
Edward Hutchins
31a27ca72d
Added documentation for process.execArgv
12 years ago
Rod Vagg
ccabd4a6fa
process: expose NODE_MODULE_VERSION in process.versions
12 years ago
Mathias Bynens
488b74d68b
doc: mention `process.*.isTTY` under `process`
12 years ago
Ben Noordhuis
7b7235a232
doc: add note on process.title max length
Fixes #5006 .
12 years ago
Johannes Ewald
872cb0d7fa
doc: improve example of process.hrtime()
The example clarifies now that diff[0] * 1000000000 + diff[1] equals
the result in nanoseconds.
12 years ago
Ben Noordhuis
3ece130ea2
process: add getgroups(), setgroups(), initgroups()
DRY the getuid(), getgid(), etc. functions while we're at it.
12 years ago
Stephen Gallagher
38809e3985
build: allow linking against system libuv
12 years ago
Stephen Gallagher
73ff653a8d
build: allow linking against system c-ares
12 years ago
Stephen Gallagher
bfd78b69fc
build: allow linking against system http_parser
12 years ago
Alex Kocharin
bf0bc3565b
doc: better example for process.hrtime()
Fixes #3984 .
12 years ago
isaacs
1c2982b94f
Update doc and test for sunos/solaris switch
12 years ago
Ben Noordhuis
de32b38992
addon: remove node-waf, superseded by node-gyp
12 years ago
Ben Noordhuis
e8af340557
doc: advise *strongly* against uncaughtException
12 years ago
isaacs
a52a44e072
doc: nextTick semantics and justification
12 years ago
Ryan Dahl
fe464a2fea
Rename GYP variable node_use_system_openssl to be consistent
13 years ago
Trent Mick
196207c228
node: remove unused flags and files
Drop vestigial `process.installPrefix`, `node --vars`, NODE_CFLAGS and
NODE_PREFIX.
Also removed unused node_config.h.in (replaced with config.gypi a while back).
13 years ago
Ben Kelly
c6185c8484
doc: Improve cross-linking in API docs markdown
Cross-link EventEmitter references in API docs to events.html
Fix broken cross-reference links with wrong anchor names in API docs.
13 years ago
Jeroen Janssen
66e12dbd69
doc: update possible values for process.platform
13 years ago
Jeroen Janssen
f079c0bd9f
doc: process get/setuid and get/setgid are POSIX only
Fixes #3302
13 years ago
Nathan Rajlich
11d8823791
process: add `process.config`
This is the JS representation of the `config.gypi` file that was used when
compiling node. With this information, you can tell whether the current node
binary has shared or static dependencies, or any other configuration options
that may have been used.
13 years ago
Nathan Rajlich
07c886f944
process: add `process.hrtime()`
This commit adds a high-resolution timer function.
13 years ago
isaacs
e083720d54
doc refactor: process
13 years ago
isaacs
a52254d0d7
doc refactor: process
13 years ago
koichik
e1c043f43a
docs: fix docs to not suggest variable leaks
Fixes #2106 .
13 years ago
Robert Mustacchi
2240486d3d
Add process.abort
13 years ago
Ryan Dahl
a936768890
stdout and stderr are blocking when referring to regular files
Fixes message tests.
13 years ago
Ryan Dahl
5783a52a9c
Remove process.memoryUsage().vsize
Not meaningful cross platform; unused.
13 years ago
Maciej Małecki
683c1c6583
docs: document `process.versions`
13 years ago
Maciej Małecki
e150bc4f2b
docs: process.memoryUsage returns memory usage measured in bytes
13 years ago
Maciej Małecki
962a9e808c
docs: process.memoryUsage returns memory usage measured in bytes
13 years ago
Ryan Dahl
8a03cf7a7b
Fix docs for process.arch
14 years ago
Nathan Rajlich
b1be5409bd
Implement `process.arch` to get a String of the current processor architecture, with docs.
14 years ago
Tom Hughes
cf78ce59b3
Add process.uptime().
14 years ago
Ryan Dahl
bc23ec8d05
Add process.stderr stream
14 years ago
Ryan Dahl
4ea6916974
Correct process.kill doc
Thanks Kevin. Closes GH-518.
14 years ago
Ryan Dahl
2e3e95ee89
add process.stdin
14 years ago
Silas Sewell
11b2ee7632
Various doc tweaks (2-spaces vs tabs, EOL-whitespace, repl prompt, "world" vs "World", etc...)
14 years ago
Oleg Efimov
8b980d729c
Fix line wrapping in docs. Add tics for constants in docs text.
14 years ago
Ryan Dahl
bce092aeb8
Remove leading comma examples
14 years ago
Ryan Dahl
bc0118e519
Remove process.compile from docs
14 years ago
Micheil Smith
e190c9616e
Splitting documentation
14 years ago