kotaemon
kotaemon copied to clipboard
[BUG] - run_windows.bat changes working directory
Description
When starting the run_windows.bat from a terminal in the "scripts" sub directory, the working directory of the terminal is the "main" application directory after the application terminates. Therefore it's impossible to immediately restart the "run_windows.bat" script. The user needs to manually change to the scripts directory again first. The bat script should have something like "cd scripts" at the very end to avoid that.
Reproduction steps
1. open a terminal in the \scripts directory
2. execute run_windows.bat
3. close browser to terminate kotaemon
4. look at the current working directory, and notice it is no longer the \scripts directory
Screenshots
No response
Logs
No response
Browsers
No response
OS
No response
Additional information
No response