15 Sep
2021
15 Sep
'21
10:38 a.m.
On 15/09/2021 11.56, Marc-Andre Lemburg wrote:
- Chris mentioned that library code should not be changing the CWD. In an ideal world, I'd agree, but there are cases where you don't have an option and you need to change the CWD in order make certain things work, e.g. you don't control the code you want to run, but need to make it work in a specific directory by changing the CWD and then passing relative paths to the code.
This seems rather hypothetical to me. Can you provide a real-world example where you cannot use absolute paths? Christian