'Change Directory and exit program in that directory in Linux
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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
