diff options
author | Thiago Padilha <thiago@padilha.cc> | 2019-09-02 21:51:29 +0300 |
---|---|---|
committer | Danielle Adams <adamzdanielle@gmail.com> | 2021-01-12 15:10:31 +0300 |
commit | 9bc2cec848f0b4a40388f598e35767aba8033741 (patch) | |
tree | 883821b20714cc61303d8c93267456bfbb43367b /node.gyp | |
parent | 8b43388903b2721ee75ae5cded06e71b2c9d99d5 (diff) |
child_process: add 'overlapped' stdio flag
The 'overlapped' value sets the UV_OVERLAPPED_PIPE libuv flag in the
child process stdio.
Fixes: https://github.com/nodejs/node/issues/29238
PR-URL: https://github.com/nodejs/node/pull/29412
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1469,6 +1469,24 @@ ], }, # embedtest + { + 'target_name': 'overlapped-checker', + 'type': 'executable', + + 'conditions': [ + ['OS=="win"', { + 'sources': [ + 'test/overlapped-checker/main_win.c' + ], + }], + ['OS!="win"', { + 'sources': [ + 'test/overlapped-checker/main_unix.c' + ], + }], + ] + }, # overlapped-checker + # TODO(joyeecheung): do not depend on node_lib, # instead create a smaller static library node_lib_base that does # just enough for node_native_module.cc and the cache builder to |