BloombergLP::bdls::FilesystemUtil::setWorkingDirectory

Set the working directory of the current process to the specified path.

Synopsis

Declared in <bdls_filesystemutil.h>

template<class STRING_TYPE>
static
int
setWorkingDirectory(STRING_TYPE const& path);

Description

Same as the overload taking const char *.

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
pathfilesystem path of the new working directory