Charlie McConnell
c7b8073afc
child_process: Separate 'close' event from 'exit'
...
Currently, a child process does not emit the 'exit' event until 'close' events
have been received on all three of the child's stdio streams. This change makes
the child object emit 'exit' when the child exits, and a new 'close' event when
all stdio streams are closed.
2012-03-15 17:07:11 -07:00
Ben Noordhuis
018e110cd1
test: replace .addListener() calls with .on()
2011-10-15 01:08:36 +02:00
Ryan Dahl
4983bd348d
x-platform func for spawning pwd in tests
...
Fixes test-child-process-buffering
2011-08-10 11:23:55 -07:00
Ryan Dahl
55048cdf79
Update copyright headers
2011-03-14 17:37:05 -07:00
Oleg Efimov
0665f0271e
GJSLint all simple tests exclude http-*, url, path
2010-12-05 15:41:58 -08:00
Ryan Dahl
a0159b4b29
Fix global leaks
2010-12-04 15:58:50 -08:00
Micheil Smith
372a7c9a3e
Migrated from sys.p to console.dir
2010-10-11 16:21:45 -07:00
Herbert Vojčík
cf2b206a8e
More changes to tests so they really work under context module loader.
...
Plus, getting rid of test/common.js defining things in global.
2010-08-17 08:41:05 -07:00
Ryan Dahl
9fd5e3c89c
Update tests to work with module contexts
2010-07-15 14:21:31 -07:00
Ryan Dahl
ba792ea202
:%s/sys.puts/console.log/g
...
and there was much rejoicing
2010-06-23 20:05:29 -07:00
Ryan Dahl
04c06b9149
child process now use net.Socket
2010-03-17 14:00:17 -07:00