Do not use os.system("command &"). The background command output will not be collected. To obtain the command output, use subprocess.Popen instead.