def check_new_programs(home, cachefile):
    PATH = os.environ.get('PATH')
    check = subprocess.Popen([(home + '/.i3/scripts/dmenu_update')], stdout=subprocess.PIPE)
    check.communicate()
def check_new_programs(home, cachefile):
    PATH = os.environ.get('PATH')
    check = subprocess.Popen([(home + '/.i3/scripts/dmenu_update')], stdout=subprocess.PIPE)
    check.communicate()