从 rebol 或 red 调用 curl 不起作用

call curl from rebol or red doesn't work

在 dos cmd 上有效:

curl.exe -L https://dl.uxnr.de/build/curl/curl_winssl_msys2_mingw64_stc/curl-7.53.1/curl-7.53.1.zip > curl.zip

在 red 或 rebol 上,按照建议 ,我尝试了下面的代码,但它不起作用,为什么?

call {curl.exe -L https://dl.uxnr.de/build/curl/curl_winssl_msys2_mingw64_stc/curl-7.53.1/curl-7.53.1.zip > curl.zip}

我也试了call/wait,也没用

Rebol2:

call/output {curl.exe -L https://www.example.com} data: make string! estimated-big-enough-number

Rebol3(Ren/C 分支):

call/shell/output {curl -L https://www.example.com} data: make binary! 0

;; or

call/output [%/path/to/curl "-L" "https://www.example.com"] data: make binary! 0

;;or a poor mans solution as in e.g.

 call {curl -L -k https://dl.uxnr.de/build/curl/curl_winssl_msys2_mingw64_stc/curl-7.53.1/curl-7.53.1.zip  > this-I-want } data: read %this-I-want

红色:

call/output {curl -L -k https://dl.uxnr.de/build/curl/curl_winssl_msys2_mingw64_stc/curl-7.53.1/curl-7.53.1.zip} data: make binary! 100'000