Home GnuPG
Diffusion GnuPG cf2f6d8a3f05

w32: Change spawn functions to use Unicode version of CreateProcess.

Description

w32: Change spawn functions to use Unicode version of CreateProcess.

* common/exechelp-w32.c (gnupg_spawn_process): Change to use
CreateProcessW.
(gnupg_spawn_process_fd): Ditto.
(gnupg_spawn_process_detached): Ditto.
* g10/exec.c (w32_system): Ditto.

We do not use this weirdo CREATE_UNICODE_ENVIRONMENT flag because it
does not make any sense to have non-ASCII names in the environment. I
can't imagine why this should be used at all and rationale for this
API features is, well, sparse.

Details

Provenance
wernerAuthored on Mar 8 2021, 9:26 PM
Parents
rGfc99f77b14b6: scd: Fix for X448.
Branches
Unknown
Tags
Unknown
Tasks
T4398: Rework Console and command line handling on Windows