Searched refs:cmd_pipe (Results 1 – 1 of 1) sorted by relevance
2446 FILE* cmd_pipe = popen(cmd.c_str(), "r"); in GetPidOf() local2447 if (cmd_pipe == nullptr) { in GetPidOf()2451 if (fgets(buf, 1024, cmd_pipe) == nullptr) { in GetPidOf()2453 pclose(cmd_pipe); in GetPidOf()2457 pclose(cmd_pipe); in GetPidOf()