posix_spawn-internal: Implement for native Windows.
commitf2ca14d1555c7f8de305c21993fd1f805f48a9a7
authorBruno Haible <bruno@clisp.org>
Thu, 24 Dec 2020 21:18:36 +0000 (24 22:18 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 24 Dec 2020 21:18:36 +0000 (24 22:18 +0100)
tree14b7f07e4f78e64192092fb9bdf53bac5920bd5e
parent48e0a23aa5ddd288856268af751b73218ba31777
posix_spawn-internal: Implement for native Windows.

* lib/spawni.c (grow_inheritable_handles, shrink_inheritable_handles,
close_inheritable_handles, memiszero, sigisempty, open_handle, do_open,
do_dup2, do_close): New functions.
(__spawni): Implement on native Windows.
* modules/posix_spawn-internal (Depends-on): Add filename,
concat-filename, findprog-in, malloca, windows-spawn.
* doc/posix-functions/posix_spawn.texi: Update.
* doc/posix-functions/posix_spawnp.texi: Likewise.
ChangeLog
doc/posix-functions/posix_spawn.texi
doc/posix-functions/posix_spawnp.texi
lib/spawni.c
modules/posix_spawn-internal