/dports/net/frr7/frr-frr-7.5.1/tests/topotests/lib/ |
H A D | topotest.py | 1118 daemonpid = self.cmd("cat %s" % d.rstrip()).rstrip() 1119 if daemonpid.isdigit() and pid_exists(int(daemonpid)): 1134 daemonpid = self.cmd("cat %s" % d.rstrip()).rstrip() 1135 if daemonpid.isdigit() and pid_exists(int(daemonpid)): 1143 os.kill(int(daemonpid), signal.SIGTERM) 1171 if daemonpid.isdigit() and pid_exists(int(daemonpid)): 1178 self.cmd("kill -7 %s" % daemonpid) 1426 if daemonpid.isdigit() and pid_exists(int(daemonpid)): 1433 self.cmd("kill -9 %s" % daemonpid) 1435 if pid_exists(int(daemonpid)): [all …]
|
/dports/net/frr7-pythontools/frr-frr-7.5.1/tests/topotests/lib/ |
H A D | topotest.py | 1118 daemonpid = self.cmd("cat %s" % d.rstrip()).rstrip() 1119 if daemonpid.isdigit() and pid_exists(int(daemonpid)): 1134 daemonpid = self.cmd("cat %s" % d.rstrip()).rstrip() 1135 if daemonpid.isdigit() and pid_exists(int(daemonpid)): 1143 os.kill(int(daemonpid), signal.SIGTERM) 1171 if daemonpid.isdigit() and pid_exists(int(daemonpid)): 1178 self.cmd("kill -7 %s" % daemonpid) 1426 if daemonpid.isdigit() and pid_exists(int(daemonpid)): 1433 self.cmd("kill -9 %s" % daemonpid) 1435 if pid_exists(int(daemonpid)): [all …]
|
/dports/sysutils/g15daemon/g15daemon-3.0.4/g15daemon/ |
H A D | main.c | 305 pid_t daemonpid; 321 daemonpid = uf_return_running(); 322 if(daemonpid>0) { 323 kill(daemonpid,SIGINT); 329 daemonpid = uf_return_running(); 330 if(daemonpid>0) { 331 kill(daemonpid,SIGUSR1);
|
/dports/chinese/fcitx/fcitx-4.2.9.7/src/module/dbus/ |
H A D | dbusremote.c | 57 pid_t daemonpid = ppid[0]; in _fcitx_get_address() local 60 if (!fcitx_utils_pid_exists(daemonpid) in _fcitx_get_address()
|
/dports/devel/hs-git-annex/git-annex-8.20210903/ |
H A D | Command.hs | 129 noDaemonRunning = addCheck $ whenM (isJust <$> daemonpid) $ 132 daemonpid = liftIO . checkDaemon . fromRawFilePath function
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/fcitx-qt5/qt6/platforminputcontext/ |
H A D | fcitxwatcher.cpp | 183 pid_t daemonpid = ppid[0]; in address() local 186 if (!_pid_exists(daemonpid) || !_pid_exists(fcitxpid)) in address()
|
/dports/chinese/fcitx/fcitx-4.2.9.7/src/frontend/qt/ |
H A D | fcitxwatcher.cpp | 182 pid_t daemonpid = ppid[0]; in address() local 185 if (!_pid_exists(daemonpid) || !_pid_exists(fcitxpid)) in address()
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/fcitx-qt5/qt5/platforminputcontext/ |
H A D | fcitxwatcher.cpp | 183 pid_t daemonpid = ppid[0]; in address() local 186 if (!_pid_exists(daemonpid) || !_pid_exists(fcitxpid)) in address()
|
/dports/textproc/fcitx-qt5/fcitx-qt5-1.2.6/platforminputcontext/ |
H A D | fcitxwatcher.cpp | 183 pid_t daemonpid = ppid[0]; in address() local 186 if (!_pid_exists(daemonpid) || !_pid_exists(fcitxpid)) in address()
|
/dports/net-mgmt/xymon-server/xymon-4.3.30/xymond/ |
H A D | xymond_channel.c | 536 pid_t daemonpid = fork(); in main() local 537 if (daemonpid < 0) { in main() 542 else if (daemonpid > 0) { in main() 547 fprintf(fd, "%d\n", (int)daemonpid); in main()
|
/dports/net-mgmt/xymon-client/xymon-4.3.30/xymond/ |
H A D | xymond_channel.c | 536 pid_t daemonpid = fork(); in main() local 537 if (daemonpid < 0) { in main() 542 else if (daemonpid > 0) { in main() 547 fprintf(fd, "%d\n", (int)daemonpid); in main()
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/fcitx-qt5/qt5/dbusaddons/ |
H A D | fcitxqtconnection.cpp | 223 pid_t daemonpid = ppid[0]; in address() local 226 if (!_pid_exists(daemonpid) || !_pid_exists(fcitxpid)) in address()
|
/dports/textproc/fcitx-qt5/fcitx-qt5-1.2.6/dbusaddons/ |
H A D | fcitxqtconnection.cpp | 223 pid_t daemonpid = ppid[0]; in address() local 226 if (!_pid_exists(daemonpid) || !_pid_exists(fcitxpid)) in address()
|
/dports/chinese/fcitx/fcitx-4.2.9.7/src/lib/fcitx-qt/ |
H A D | fcitxqtconnection.cpp | 259 pid_t daemonpid = ppid[0]; in address() local 262 if (!fcitx_utils_pid_exists(daemonpid) in address()
|
/dports/net/prtunnel/prtunnel-0.2.7/ |
H A D | proxy.c | 1103 int daemonpid; in prt_proxy() local 1105 daemonpid = fork(); in prt_proxy() 1106 if(daemonpid == -1) { in prt_proxy() 1109 } else if(daemonpid) { in prt_proxy()
|
/dports/chinese/fcitx/fcitx-4.2.9.7/src/lib/fcitx-gclient/ |
H A D | fcitxconnection.c | 463 pid_t daemonpid = ppid[0]; in _fcitx_get_address() local 466 if (!fcitx_utils_pid_exists(daemonpid) || !fcitx_utils_pid_exists(fcitxpid)) in _fcitx_get_address()
|