How to remove curl-like statistics when running `bin/RELEASE_NAME rpc`

After deploying a release to the server, I remoted into that server and ran bin/app_name rpc "IO.puts(:hello)". The results produced were:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1783  100  1783    0     0   870k      0 --:--:-- --:--:-- --:--:--  870k
hello

How do I get rid of those curl-like stats and just have the result itself be produced?

Elixir does not use curl in any of its script. I’d suggest inspecting your bin/app_name and find out where it’s coming from.

Thanks, your suggestion got me pointed in the right direction. Turned out I had a line in my env.sh.eex file that used curl to obtain the IP address of the local AWS task instance. Adding the -s flag to the curl command resolved the issue.

export PUBLIC_HOSTNAME=`curl -s ${ECS_CONTAINER_METADATA_URI}/task | jq -r ".Containers[0].Networks[0].IPv4Addresses[0]"`