| 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) { |
no test coverage detected