def kill_cl2_daemon(self): """ Terminates the daemon. This requires sufficient caps, or we will get KERN-EXEC 46. """ if have_miso: # http://wiki.forum.nokia.com/index.php/How_to_start_and_stop_exe count = miso.kill_process(cl2_pattern, 0) if count == 0: appuifw.note(u"Nothing to kill", "info") else: appuifw.note(u"%d process(es) killed" % count, "info") else: appuifw.note(u"Miso not installed", "error")
import miso print("found %d processes" % miso.kill_process(u"Y-Brow*", 0)) #print("found %d processes" % miso.kill_process(u"*[e53540d1]*", 0))