Bert Belder
032c041790
windows: use UV_HANDLE_READABLE and UV_HANDLE_WRITABLE
...
These flags supersede UV_HANDLE_EOF and UV_HANDLE_SHUTTING. This patch
also moves a lot of stream related state-checking code to stream.c.
2012-09-03 21:09:40 +02:00
Bert Belder
aa69f34d53
windows: report spawn errors to the exit callback
...
Formerly spawn errors would be reported as a message printed to the
process' stderr, to match unix behaviour. Unix has now been fixed to
be more sensible, so this hack can now be removed.
This also fixes a race condition that could occur when the user closes
a process handle before the exit callback has been made.
2012-08-13 22:31:47 +02:00
Bert Belder
a1157cef37
windows: don't duplicate invalid stdio handles
...
Ref: joyent/node#3779
2012-08-08 02:24:48 +02:00
Bert Belder
00d2f22151
windows: fix typos in process-stdio.c
2012-08-08 02:18:53 +02:00
Bert Belder
6209fe51f0
windows: invalid stdio handles should be INVALID_HANDLE_VALUE and not NULL
2012-08-01 01:09:07 +02:00
Bert Belder
9d71d1cab5
windows/uv_spawn: ignore errors when duplicating fd 0-2 fails
...
Hopefully this fixes joyent/node#3779 .
2012-07-31 19:38:43 +02:00
Bert Belder
ade6930241
windows: implement uv_disable_stdio_inheritance
2012-06-14 01:19:52 +02:00
Bert Belder
07c6ac2b55
windows: move child stdio buffer ops to a separate file
2012-06-13 19:17:13 +02:00