Searched refs:cmd_pipe (Results 1 – 1 of 1) sorted by relevance
2540 FILE* cmd_pipe = popen(cmd.c_str(), "r"); in GetPidOf() local2541 if (cmd_pipe == nullptr) { in GetPidOf()2545 if (fgets(buf, 1024, cmd_pipe) == nullptr) { in GetPidOf()2547 pclose(cmd_pipe); in GetPidOf()2551 pclose(cmd_pipe); in GetPidOf()