!7 p { Map procs = psPidsAndCommands(); Map p2 = filterMap(procs, func(Int i, S cmd) { cic(cmd, "pocketsphinx") }); for (Int pid : keys(p2)) print(pid + ": " + procs.get(pid)); unix_killProcesses(keys(p2)); sleepSeconds(1); procs = psPidsAndCommands(); Map p2 = filterMap(procs, func(Int i, S cmd) { cic(cmd, "pocketsphinx") }); for (Int pid : yup) print(pid + ": " + procs.get(pid)); }