Change #265543
| Category | doxygen |
| Changed by | Sandbox User <sandbox@localhost> |
| Changed at | Sun 08 Mar 2026 20:02:30 |
| Repository | https://github.com/doxygen/doxygen.git |
| Project | doxygen |
| Branch | master |
| Revision | 1c8cbf0c18f9ce9e052be7f0a001f4fc2eaf2cb3 |
Comments
Add dir parameter to Portable::system for working directory control Rather than saving/restoring the process cwd around Portable::system calls, pass the desired working directory directly. On Unix (fork path) the child calls chdir() before exec; on Solaris (vfork) and Windows console paths it prepends cd to the shell command; on Windows non-console it passes the directory to CreateProcessW lpCurrentDirectory. DotRunner::run() now passes the dot file directory to Portable::system and uses absolute paths for post-run checks, removing the Dir::setCurrent save/restore. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Changed files
- src/dotrunner.cpp
- src/portable.cpp
- src/portable.h