Set the working directory of the current process to the specified path.
Declared in <bdls_filesystemutil.h>
static
int
setWorkingDirectory(char const* path);
Return 0 on success and a non-zero value otherwise. The parameterized STRING_TYPE must be one of bsl::string, std::string, std::pmr::string (if supported), bsl::string_view, or bslstl::StringRef.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| path | filesystem path of the new working directory |