MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / get_command

Method get_command

src/process.cpp:341–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339 fs::path cwd{};
340
341 std::string get_command() const
342 {
343 std::string result;
344 if(not cwd.empty())
345 result += "cd " + cwd.string() + "; ";
346 if(not envs.empty())
347 result += envs + " ";
348 result += command;
349 if(not args.empty())
350 result += " " + args;
351 return result;
352 }
353
354 template <class... Ts>
355 void check_exec(Ts&&... xs) const

Callers 3

readMethod · 0.80
execMethod · 0.80
writeMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected