path: codelite_17.0.0+dfsg-6/ctags/Tmain/unreadable-input.d/run.sh if ! type pidof > /dev/null 2>&1; then # pidof is needed to find auditd. skip "pidof command is not available" fi path: codelite_17.0.0+dfsg-6/ctags/Tmain/unreadable-input.d/run.sh if ! type pidof > /dev/null 2>&1; then # pidof is needed to find auditd. skip "pidof command is not available" fi path: codelite_17.0.0+dfsg-6/ctags/Tmain/unreadable-input.d/run.sh fi if ! pidof auditd > /dev/null 2>&1; then # sudo expects auditd is running. skip "auditd is not running" path: codelite_17.0.0+dfsg-6/ctags/Tmain/unreadable-input.d/run.sh . ../utils.sh if ! type pidof > /dev/null 2>&1; then # pidof is needed to find auditd. skip "pidof command is not available" path: codelite_17.0.0+dfsg-6/ctags/Units/review-needed.r/too-large-for-reviewing-3526726.tex.t/input.tex TAR="/bin/tar" KILL="/bin/kill" PIDOF="/sbin/pidof" SNORT="/usr/local/bin/snort" SNORTUSER="snort" path: codelite_17.0.0+dfsg-6/codelite_open_helper.py pidof_subprocess = subprocess.Popen('pidof codelite', stdout=subprocess.PIPE, shell=True) found_codelite = False with pidof_subprocess.stdout as txt: for line in txt: line = line.strip() path: codelite_17.0.0+dfsg-6/codelite_open_helper.py # OK, so we couldn't talk to codelite, let us see if it is running pidof_subprocess = subprocess.Popen('pidof codelite', stdout=subprocess.PIPE, shell=True) found_codelite = False with pidof_subprocess.stdout as txt: path: codelite_17.0.0+dfsg-6/codelite_open_helper.py if len(line) != 0: found_codelite = True pidof_subprocess.terminate() if found_codelite: print("Found running codelite process, but could not talk to it, no idea what is wrong")