Use log_call instead of os.system().