cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_easy_perform opens up new shell

From: Ray Satiro via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 31 Oct 2015 02:12:11 -0400

On 10/30/2015 4:18 PM, Florian Wege wrote:
> I am working on a small GUI application (wxWidgets) for Windows which
> downloads files from a web server using libcurl. While the GUI
> framework shows no terminal, everytime the curl_easy_perform function
> does its job (in a separate thread), it opens up such shell for a
> split second. Since a lot of files need to be transfered
> consecutively, it results in a flickering and focus-grabbing annoyance
> -> users cannot control the GUI properly anymore.
>
> How to prevent libcurl from spawning shells?
>

It sounds like what you are seeing is console windows. I can't think of
any scenario in which libcurl would cause that. I also don't recall
wxWidgets doing that but I haven't used it in a while. Can you give us a
self contained example that can be used to reproduce the issue you describe?
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-10-31