diff options
author | Bartosz Sosnowski <bartosz@janeasystems.com> | 2018-11-09 21:49:18 +0100 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-11-10 14:43:23 -0500 |
commit | 4c2dcca27b80945d6b7063f0ea031b8a75a46a52 (patch) | |
tree | 6d8bb7f639b0a6a7cb37ff88a5402b2b40ded7cb /docs/src | |
parent | e0bc951ff251907bbfee2e43c3ffcc9e8fe64c54 (diff) | |
download | libuv-4c2dcca27b80945d6b7063f0ea031b8a75a46a52.tar.gz libuv-4c2dcca27b80945d6b7063f0ea031b8a75a46a52.zip |
win: support more fine-grained windows hiding
Added UV_PROCESS_WINDOWS_HIDE_CONSOLE and
UV_PROCESS_WINDOWS_HIDE_GUI for specifying if console or GUI
subprocess windows are to be hidden.
Refs: https://github.com/nodejs/node/pull/24034
PR-URL: https://github.com/libuv/libuv/pull/2073
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/process.rst | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/docs/src/process.rst b/docs/src/process.rst index bc968554..f2b3be21 100644 --- a/docs/src/process.rst +++ b/docs/src/process.rst @@ -70,11 +70,22 @@ Data types */ UV_PROCESS_DETACHED = (1 << 3), /* - * Hide the subprocess console window that would normally be created. This + * Hide the subprocess window that would normally be created. This option is + * only meaningful on Windows systems. On Unix it is silently ignored. + */ + UV_PROCESS_WINDOWS_HIDE = (1 << 4), + /* + * Hide the subprocess console window that would normally be created. This + * option is only meaningful on Windows systems. On Unix it is silently + * ignored. + */ + UV_PROCESS_WINDOWS_HIDE_CONSOLE = (1 << 5), + /* + * Hide the subprocess GUI window that would normally be created. This * option is only meaningful on Windows systems. On Unix it is silently * ignored. */ - UV_PROCESS_WINDOWS_HIDE = (1 << 4) + UV_PROCESS_WINDOWS_HIDE_GUI = (1 << 6) }; .. c:type:: uv_stdio_container_t @@ -217,6 +228,9 @@ API setgid specified, or not having enough memory to allocate for the new process. + .. versionchanged:: 1.24.0 Added `UV_PROCESS_WINDOWS_HIDE_CONSOLE` and + `UV_PROCESS_WINDOWS_HIDE_GUI` flags. + .. c:function:: int uv_process_kill(uv_process_t* handle, int signum) Sends the specified signal to the given process handle. Check the documentation |