Trying out the Clion EAP on the Mac. How does one change the current working directory for a launched program? It appears to be set to the output directory of the binaries.
Most programming languages provide an interface to the file system functions of the operating system, including the ability to set (change) the working directory of the program.
The cd command, also known as chdir (change directory), is a command-line shell command used to change the current working directory in various operating systems.
To change this current working directory, you can use the "cd" command (where "cd" stands for "change directory"). For example, to move one directory upwards (into the current folder's parent folder), you can just call: $ cd ..
This can be changed via the Run -> Edit Configurations...
dialog, just like Idea.
The mix of needing to make changes to CMakeLists.txt
for so much of the configuration just threw me, and I've been hunting for a way to change it there, but this bit at least is consistent with the other IDEs, which is good.
Hopefully they'll improve the rest of the Project Settings in a similar fashion.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With