I have a simple program that I run from a terminal which changes the working directory (via setCurrentDir) and performs some other work which creates some new files in that folder. When the program has completed, I would like the terminal prompt to remain in that folder rather than return to the original directory.
As far as I know, this is a linux issue, rather than a Nim issue, but I am wondering if there is any workaround in Nim.