------------------------------------------------------------------------------
| 142 | |
| 143 | //------------------------------------------------------------------------------ |
| 144 | std::string vtkPSystemTools::GetCurrentWorkingDirectory(bool /* collapse */) |
| 145 | { |
| 146 | vtkMultiProcessController* controller = vtkMultiProcessController::GetGlobalController(); |
| 147 | std::string returnString; |
| 148 | if (controller->GetLocalProcessId() == 0) |
| 149 | { |
| 150 | returnString = vtksys::SystemTools::GetCurrentWorkingDirectory(); |
| 151 | } |
| 152 | vtkPSystemTools::BroadcastString(returnString, 0); |
| 153 | return returnString; |
| 154 | } |
| 155 | |
| 156 | //------------------------------------------------------------------------------ |
| 157 | std::string vtkPSystemTools::GetProgramPath(const std::string& path) |
nothing calls this directly
no test coverage detected