| 58 | // ---------------------------------------------------------------------------------------- |
| 59 | |
| 60 | void set_current_dir ( |
| 61 | const std::string& new_dir |
| 62 | ) |
| 63 | { |
| 64 | if (chdir(new_dir.c_str())) |
| 65 | { |
| 66 | throw set_current_dir_error("Error changing current dir to '" + new_dir + "'"); |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | // ---------------------------------------------------------------------------------------- |
| 71 |
no test coverage detected