I'm using curl to get a web page with chunked Transfer-Encoding header.
When I execute the command on linux bash (CentOS) I receive the pid of the process and I get back the shell, it seems curl is executed in background and after some minutes on the shell itself it appears the output html, I'm assuming it is having this behavior because of the chuncked transfer encoding.
How can I prevent this curl behavior? Is there any way to force a sync connection to wait for the output?