-
Notifications
You must be signed in to change notification settings - Fork 0
Base Functionality
Kamil "Enderek0" K edited this page Sep 7, 2025
·
1 revision
"Config" {
"Working Directory" {
"Find" "example_location"
"Use" "cwd"
"Append" "example/path"
}
}Is a block that tells the program where and how to find the working directory. SMT programs can find the working directory by themselves, no need to pass it in (although there is an option to override it).
It is required to be present, unless you override the working directory with -wd.
- Find | required - specifies what directory to find.
- Use | optional, default: "program" - Specify which method to use to find the directory specified:
- "program" - by looking at the location of the executable and its parent paths,
- "cwd" - by looking at the passed working directory (from the command line) and its parent paths.
- Append | optional - After finding the path, appends this to the end.
Using the example configuration from up above, let's assume the executable is in C:/Users/Someone/example_location/bin/program.exe, and the program would be ran from cmd with working directory C:/Users/Someone/example_location/bin/, here's how the working directory would look like: C:/Users/Someone/example_location/example/path/