#!/usr/bin/env python3 ### Imports import subprocess, threading, gc ### Methods def fAll() : print('.', end="", flush=True) subprocess.check_output("true") #gc.collect(), gc.collect(), gc.collect() threading.Timer(1, fAll, ()).start() ### Execution fAll()