-
Notifications
You must be signed in to change notification settings - Fork 7
this_process change_working_directory
Alairion edited this page May 8, 2021
·
2 revisions
nes::this_process::change_working_directory
(1) bool change_working_directory(const std::string& path);- Tries to change the current process's working directory.
| Name | Description |
|---|---|
path |
An UTF-8 encoded relative or absolute path to a directory |
- Returns
trueif the current process's working directory has been changed topath, otherwise, returnsfalse.
- May propagates exception thrown by implementation-defined operations.
- On Windows, calls
SetCurrentDirectoryW
On Posix systems, callschdir