MCPcopy Create free account
hub / github.com/catboost/catboost / AppendArgument

Method AppendArgument

util/system/shellcommand.cpp:304–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302 }
303
304 inline void AppendArgument(const TStringBuf argument) {
305 if (ExecutionStatus.load(std::memory_order_acquire) == SHELL_RUNNING) {
306 ythrow yexception() << "You cannot change command parameters while process is running";
307 }
308 Arguments.push_back(ToString(argument));
309 }
310
311 inline const TString& GetOutput() const {
312 if (ExecutionStatus.load(std::memory_order_acquire) == SHELL_RUNNING) {

Callers 1

shellcommand.cppFile · 0.80

Calls 3

ToStringFunction · 0.50
loadMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected