MCPcopy Create free account
hub / github.com/arun11299/cpp-subprocess / cwd

Class cwd

cpp-subprocess/subprocess.hpp:866–871  ·  view source on GitHub ↗

! * Option to set the current working directory * of the spawned process. * * Eg: cwd{"/some/path/x"} */

Source from the content-addressed store, hash-verified

864 * Eg: cwd{"/some/path/x"}
865 */
866struct cwd
867{
868 explicit cwd(const platform_str_t &cwd): cwd_(cwd) {}
869 explicit cwd(platform_str_t &&cwd): cwd_(std::move(cwd)) {}
870 platform_str_t cwd_;
871};
872
873/*!
874 * Option to specify environment variables required by

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected