Skip to content

warning is raised when running the Flask application on non-Windows platforms #117

@saksham-gera

Description

@saksham-gera

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions