Work around an UCRT issue with _wspawn() functions taking an envp block
Commit 68aff6dd added a workaround for an issue in the UCRT with the _wspawn*e
functions by calling _chdir. This is useful, but works only if the current directory is on a mounted volume with a letter. For example, if the current directory is on a network share with a UNC path (e.g \\servername\path\to\directory
), then the call to chdir won't help.
TBD:
-
Add a test -
How can we flush g_warning
?
References:
Edited by Luca Bacci