Enhanced version of execute_formatting_script function
Contributor checklist
- [X] This pull request is on a separate branch and not the main branch
Description
The new implementation unifies platform handling using sys.executable for consistency and sets the PYTHONPATH more cleanly which improves compatibility and simplifies maintenance.
Thank you for the pull request!
The Scribe team will do our best to address your contribution as soon as we can. The following is a checklist for maintainers to make sure this process goes as well as possible. Feel free to address the points below yourself in further commits if you realize that actions are needed :)
If you're not already a member of our public Matrix community, please consider joining! We'd suggest using Element as your Matrix client, and definitely join the General and Data rooms once you're in. Also consider joining our bi-weekly Saturday dev syncs. It'd be great to have you!
Maintainer checklist
CC: @mhmohona, as you run Scribe-data on windows, Can you please test it if there is no problem?