SyntaxWarning: invalid escape sequence '\l'
proc = subprocess.check_output(["..\library", library_path, filename], shell=True, cwd=dir_path)
Steps to Reproduce
1. Run the Flask application on macOS/Linux.
2. Observe the SyntaxWarning in the logs when the app initializes.
Expected Behavior
• No warnings are raised.
• Path handling is platform-agnostic and does not produce errors or warnings on non-Windows platforms.
Environment
• OS: macOS/Linux
• Python Version: 3.8+
• Flask Version: 2.x