spawn-pipe: Fix hanging processes on Windows (regression 2020-11-30).
commit13f9414bd94dbac97d2a770700bbae9077c8827f
authorBruno Haible <bruno@clisp.org>
Sun, 13 Dec 2020 20:45:55 +0000 (13 21:45 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 13 Dec 2020 20:45:55 +0000 (13 21:45 +0100)
treee1963b87aff64ff25b58abcb92d339e3c5464c28
parent0f1b9440bc719abcee7cbdf137e723cfe153038a
spawn-pipe: Fix hanging processes on Windows (regression 2020-11-30).

* lib/spawn-pipe.c (create_pipe): After spawning the subprocess, close
the stdin_handle and/or stdout_handle.
ChangeLog
lib/spawn-pipe.c