curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Cmd.exe and PowerShell ISE in MS Windows 10

From: Daniel Stenberg via curl-users <curl-users_at_cool.haxx.se>
Date: Thu, 6 Feb 2020 22:20:54 +0100 (CET)

On Thu, 6 Feb 2020, Коваленко Анатолий Викторович via curl-users wrote:

> Head by «PowerShell ISE»:
> = = = = = = = = = = Begin = = = = = = = = = =
> & ".\curl-7.68.0-win64-mingw\bin\curl.exe" "-I" "https://curl.haxx.se/windows/dl-7.68.0/curl-7.68.0-win64-mingw.zip"
> curl.exe : % Total % Received % Xferd Average Speed Time Time Time Current
> строка:1 знак:1
> + & ".\curl-7.68.0-win64-mingw\bin\curl.exe" "-I" "https://curl.haxx.se ...
> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> + CategoryInfo : NotSpecified: ( % Total % ... Time Current:String) [], RemoteException
> + FullyQualifiedErrorId : NativeCommandError

It's PowerShell. I would avoid it.

The issue is somewhat explained here:

https://stackoverflow.com/questions/2095088/error-when-calling-3rd-party-executable-from-powershell-when-using-an-ide

... all recommendations on how to fix it basically tells you to redirect
stderr to null, but then you also won't get any curl progress meter I suppose?

-- 
  / daniel.haxx.se | Commercial curl support up to 24x7 is available!
                   | Private help, bug fixes, support, ports, new features
                   | https://www.wolfssl.com/contact/

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-02-06