Searched refs:command_ (Results 1 – 3 of 3) sorted by relevance
44 if (!command_.empty()) { in GetCommandName()45 return command_[0]; in GetCommandName()67 std::vector<std::string> command_ {};
75 command_.push_back(const_cast<char*>(DEFAULT_NATIVE_DAEMON_PATH.c_str())); in StartDaemonProcessArgs()76 command_.push_back(const_cast<char*>("-o")); in StartDaemonProcessArgs()77 command_.push_back(const_cast<char*>(outFile_.c_str())); in StartDaemonProcessArgs()78 command_.push_back(const_cast<char*>("-s")); in StartDaemonProcessArgs()79 command_.push_back(const_cast<char*>(std::to_string(SHARE_MEMORY_SIZE).c_str())); in StartDaemonProcessArgs()80 command_.push_back(const_cast<char*>("-p")); in StartDaemonProcessArgs()81 command_.push_back(const_cast<char*>(std::to_string(hookPid_).c_str())); in StartDaemonProcessArgs()82 command_.push_back(const_cast<char*>("-u")); in StartDaemonProcessArgs()83 command_.push_back(const_cast<char*>(mode_[modeIndex_].c_str())); in StartDaemonProcessArgs()85 command_.push_back(const_cast<char*>("-d")); in StartDaemonProcessArgs()[all …]
38 TrackedCommand::TrackedCommand(const std::vector<std::string> &args) : command_ {args} {} in TrackedCommand()150 char *argv[command_.size() + 1]; in ExecuteCommand()151 for (size_t index = 0; index < command_.size(); ++index) { in ExecuteCommand()152 argv[index] = const_cast<char *>(command_[index].c_str()); in ExecuteCommand()154 argv[command_.size()] = nullptr; in ExecuteCommand()