My approach would be to start the application in a certain location and then use relative paths from there without doing any chdir()'ing. The startup location would either be configurable or be specified on the command line.
In reply to Re: Best practices - absolute paths?
by jdhedden
in thread Best practices - absolute paths?
by Eyck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |