def appsRunning(l):
    psdata = subprocess.check_output(['ps aux'], shell=True)
    retval = {}
    for app in l: retval[app] = app in psdata
    return retval
dataset/ETHPy150Open koenbok/Cactus/cactus/browser.py/appsRunning/original