Fix to Let curl output to stdout and stderr to make xy_run() get info

[GitHub #144]
This commit is contained in:
Aoran Zeng 2024-12-09 17:21:31 +08:00
parent 10052d4fc2
commit 9eb4e8987b
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98

View File

@ -693,7 +693,7 @@ select_mirror_autoly (Source_t *sources, size_t size, const char *target_name)
if (xy_on_windows)
{
char *curl_version = xy_run ("curl --version >nul 2>nul", 1, NULL);
char *curl_version = xy_run ("curl --version", 1, NULL);
/**
* https://github.com/RubyMetric/chsrc/issues/144
*