The best way to solve this problem is to redirect your script’s output to /dev/null, which will effectively discard the output and prevent it from clogging up your terminal.