path: gnome-shell_49.4-1/debian/source_gnome-shell.py Determine if process has a registered process id ''' log = command_output(['pidof', proc]) if not log or log[:5] == "Error" or len(log)<1: return False