execute: Use posix_spawn by default on native Windows.
commit4f766278c569ceebc49f8b8f963acc61cb935af4
authorBruno Haible <bruno@clisp.org>
Fri, 25 Dec 2020 01:15:38 +0000 (25 02:15 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 25 Dec 2020 01:18:25 +0000 (25 02:18 +0100)
treed65dcdc9fee7acea98c72d035cb8f018d8ba7ae5
parent1013adf6bf48627f84a9043cf2631ff13d2a452f
execute: Use posix_spawn by default on native Windows.

* lib/execute.c (EXECUTE_IMPL_AVOID_POSIX_SPAWN): New macro.
(execute): Use it to decide among the two possible implementations.
ChangeLog
lib/execute.c