This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Reported by user: http://forums.netbeans.org/viewtopic.php?p=19362 1. Create Welcome project 2. Add next code: char* path = new char[512]; size_t size; path = getcwd(path, size); std::cout << "\n current Path: " << path << std::endl; 3. Run, set different "Run directory", run again 4. Outputs are the same
Actually I faced another problem that prevented me from being able to run a project with any non-standard run directory. Executable validation failed saying that executable does not exist. I've fixed it and then verified that run directory is printed correctly by the test program. Changeset: http://hg.netbeans.org/cnd-main/rev/92b8036d4c52