path: linuxcnc_1:2.9.7-1/src/configure.ac fi AC_PATH_PROG(PIDOF, pidof, "none", $SPATH) if test $PIDOF = "none" then path: linuxcnc_1:2.9.7-1/src/configure.ac if test $PIDOF = "none" then AC_MSG_ERROR([pidof not found]) fi path: linuxcnc_1:2.9.7-1/tcl/tooledit.tcl # Note: pidof ignores defunct processes # catch required since child error returned if no other pids: catch { set tooledit_pids [eval exec pidof -x -o[pid] tooledit]} emsg # determine if axis is running with same filename path: linuxcnc_1:2.9.7-1/tcl/tooledit.tcl set tooledit_pids "" # count howmany tooledits (exclusive of this one) are running # Note: pidof ignores defunct processes # catch required since child error returned if no other pids: catch { set tooledit_pids [eval exec pidof -x -o[pid] tooledit]} emsg